title: Classes packages don't include src.main.java, however it is there and eclipse complains about it
body: <p>I've downloaded an open source library which has the source laid out like this:</p>
  
  <pre><code>src.main.java.company.name
  </code></pre>
  
  <p>However the source files always have their package name omitting the <code>src.main.java</code> part, for example:</p>
  
  <pre><code>package company.name.DataAccessControler
  </code></pre>
  
  <p>and eclipse complains about it. Of course I could rename each file, but there are dozens of files and I'm pretty sure I'm missing something. </p>
  
  <p>The <code>pom.xml</code> doesn't have any references to <code>src.main.java</code>.</p>
  
  <p>What could be the cause of it, and how to fix it? I believe it might related to eclipse.</p>