title: Eclipse "cannot resolve type" in spring boot project
body: <p>I'm using the Spring Boot framework and Maven to develop an application in Eclipse IDE Mars. It was fine for a while and just happened today that some classes cannot be resolved by Eclipse. The project still builds and works as expected but it is just quite annoying to see all the "errors" everywhere that aren't any. </p>
  
  <p>And yes, I've tried updating the project and restarted my IDE ;-) </p>
  
  <p>I'd be happy about any advice. </p>
  
  <p><strong>Edit:</strong>
  Sorry, I know it's not really detailed, but it happens on <strong>every</strong> other class that I import from another project (no official import or anything). This dependency is set in the pom file with correct groupID, artefactID and version. I'm using Java 1.8. Here's an extract of my pom.xml:</p>
  
  <pre><code>...
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.2.6.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; 
  &lt;/parent&gt;
  
   &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.groupid&lt;/groupId&gt;
          &lt;artifactId&gt;utilities&lt;/artifactId&gt;
          &lt;version&gt;0.0.2-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt; 
  ...
  </code></pre>
  
  <p>I get the same problem when I checkout another project and add the dependency in the pom. Update meant right clicking in Eclipse on the project, select Maven and select "Update project". I've tried Maven clean install as well. As I said, the project builds fine and everything is working as desired. It just keeps displaying the errors. Or is that an Eclipse bug? </p>