title: Maven: The type cannot be resolved. It is indirectly referenced from required .class files
body: <p>I changed some existing projects from ant to maven projects.
  So far so good.</p>
  
  <p>All projects do have the same groupId.
  Theres a project with name "ServerBase" and artifactId "server-base".
  Within this project theres an abstract class "BaseService" which defines a logger via:</p>
  
  <pre><code>import org.jboss.logging.Logger;
  [...]
  protected Logger log = Logger.getLogger(this.getClass());
  </code></pre>
  
  <p>Theres another project with name "Server" and artifactId "server".
  Within this project theres a class ConfigurationDAOImpl extending the BaseService-Class above.
  Within ConfigurationDAOImpl the logger log is used for creating some outputs.</p>
  
  <p>Within the "Server"'s POM file I have declared:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.tcom.amadeus&lt;/groupId&gt;
          &lt;artifactId&gt;server-base&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Under BuildPath the dependency is shown very nice under MavenDependencies. I removed the old dirct/natural/ant-dependency from build path before.
  If I remove it I am getting very much errors about missing classes etc.
  But although I do have this dependency I am getting the followin error in eclipse (under tab markers):</p>
  
  <pre><code>The type org.apache.commons.logging.Log cannot be resolved. It is indirectly referenced from required .class files
  
  Resource: ConfigurationDAPImpl.java
  
  Path: /Server/src/main/...
  
  Location: Line 24
  
  Type: Java Problem
  </code></pre>
  
  <p>I tried removing the dependency and add it again but without any luck.
  Both projects do refer to JAVA 1.8.
  Both projects have been build with targets clean an package multiple times.
  Both projects have been updated by Righclick or pressing F5.
  I am using Eclipse Version: Neon.1a Release (4.6.1)
  I am using apache-maven-3.3.9
  I am using m2e Plugin.</p>
  
  <p>Any further help would be grateful.
  Thanks in advance.</p>