IntelliJ and Spring MVC, cannot resolve location /webjars/
<p>I've got a problem with intelliJ and Spring mvc. IntelliJ can't resolve location /webjars/ when I add to <code>spring-config.xml</code> (in my project its called <code>todo-servlet.xml</code>). I try to use bootstrap and jQuery. </p>

<p>The mapping I use:</p>

<pre><code>&lt;mvc:resources mapping="/webjars/**" location="/webjars/"/&gt;
</code></pre>

<p>I also tried </p>

<pre><code>&lt;mvc:resources location="classpath:/META-INF/resources/webjars/" mapping="/webjars/**"/&gt;
</code></pre>

<p>but that didn't work either... IntelliJ doesn't see location. </p>

<p>Here's link to that project on GitHub: <a href="https://github.com/PiotrBartoch/ToDoList" rel="nofollow noreferrer">My GitHub Project ToDoList</a></p>

<p>That's probably the same issue as here : <a href="https://stackoverflow.com/questions/31663149/intellij-idea-webjars-maven-spring-mvc-how-to-correctly-import-dependenci">IntelliJ IDEA: Webjars / Maven / Spring MVC - How to correctly import dependencies and have them work?</a> </p>

<p>It's solved but none left a solution..</p>