title: Import cannot be resolved in eclispe project using maven
body: <p>Recently I kept hitting an issue of Eclipse not recognising my imports (even though they were there). I was always getting the message:</p>
  
  <pre><code>import ClassName cannot be resolved.
  </code></pre>
  
  <p>I am using maven to clean and build project.</p>