title: NoClassDefFoundError when deploying WebLogic application from Eclipse
body: <p>I'm working with Maven and WebLogic. When building my application with Maven, I can successfully install it manually on my local Weblogic, using the Admin Console.</p>
  
  <p>When trying to deploy this same application on the server using Eclipse IDE, I get a <strong>NoClassDefFoundError</strong>. (I tried both with <em>"Publish as virtual application"</em> and <em>"Publish as an exploded archive"</em> in the Oracle Weblogic Server tools in Eclipse).</p>
  
  <p>The structure of my application is the following:</p>
  
  <pre><code>MyApp.ear contains:
  - MyWar1.war
  - MyWar2.war
  - MyEjb.jar (ejb module, using maven-ejb-plugin)
    - MyJar.jar (another project, as dependency)
  </code></pre>
  
  <p>And it's this <code>MyJar.jar</code> that seems to be not found in the classpath. I've checked that in the Eclipse settings, this project is include in the <strong>Java Build Path\Project</strong>, <strong>Java Build Path/Order and Export</strong> and in the <strong>Deployment Assembly</strong> for the <code>MyEjb</code> project.</p>
  
  <p>I've also checked the folder build by Eclipse, <code>eclipse-workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\MyApp</code>, where I can see the folder <code>APP-INF\lib\MyJar.jar</code> with the corresponding <code>.class</code> files. And when I try to manually manually install this folder, I got the same error (NoClassDefFoundError).</p>
  
  <p>I'm using Weblogic 10.3.3, Maven 3.2.1, Eclipse 4.4.0 (20140612-0600) and Oracle WebLogic Server Tools 7.2.1.201407111426.</p>
  
  <p>Any ideas how I can investigate this problem ?</p>