title: Maven project problem - wrong package namespaces?
body: <p>I have to modify something in an very old project, It is basically a maven project. When I import it as "Existing maven project" in Eclipse, the Java imports (internal imports) in java classes are burning red.</p>
  
  <p>For example:</p>
  
  <pre><code>com.company.app.server.biz.exception;
  </code></pre>
  
  <p>Is underscored red and Eclipse says: </p>
  
  <p><code>Declared package "com.company.app.server.biz.exception" does not match the expected package "main.java.com.company.app.server.biz.exception"</code></p>
  
  <p>It is also missing some other imports, like something from <code>apache.commons</code> but it is easily fixed using "Fix project setup". The "Fix project setup" is not doing anything when trying to fix the internal project classes problems.</p>
  
  <p>Am I doing something wrong here? What can be wrong?</p>