title: Spring beans unresolved in IntelliJ
body: <p>I started a project with IntelliJ that worked well but did something that broke it. Here is my <em>applicationContext.xml</em> file.</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
      &lt;bean class="foo.Bar" /&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>When inspecting the file I get the error</p>
  
  <blockquote>
    <p>Cannot resolve bean 'foo.Bar'</p>
  </blockquote>
  
  <p>The same thing happens for all classes I try to put in my spring configuration file. Any clue about that ?</p>
  
  <p>Here are the screenshots :</p>
  
  <p>spring file error : <a href="https://drive.google.com/file/d/0BwhIWYS5TjDRaWxjUzhBbDVnNk0/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0BwhIWYS5TjDRaWxjUzhBbDVnNk0/view?usp=sharing</a></p>
  
  <p>spring facet : <a href="https://drive.google.com/file/d/0BwhIWYS5TjDRb1RHbGlCOW9xeTg/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0BwhIWYS5TjDRb1RHbGlCOW9xeTg/view?usp=sharing</a></p>
  
  <p>I use Maven to import jars and the classes exist in my classpath.
  But the code assist doesn't give me any tip when I edit the bean class property.</p>