title: NoClassDefFoundError: : org.apache.log4j.Logger
body: <p>In my java application deployed on WebSphere 8.5 and I run into this error even though I have below log4j in my maven dependencies.</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
          &lt;version&gt;1.2.16&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I did run a <code>dependency:tree</code> and I can see that it is being pulling in as<br>
   <code>+-log4j:log4j:jar:1.2.16:compile</code> which is what I would expect to see in the tree result so I can confirm that it is in the classpath.
  Any ideas? </p>