Weblogic Eclipse JAR Deployment Issue
676764Dec 22 2008 — edited May 11 2009Hi,
We're deploying from Eclipse project directly to Oracle Weblogic Server v10.3 via WLS Adapter.
Result*
NoClassDefFound exceptions for JARs included via Maven Dependencies (in "Project > Properties > Java EE Module Dependencies") errors in Weblogic AdminServer.log.
Cause*
JARs that should be accessible under /WEB-INF/lib do not appear to be getting deployed properly.
Environment*
Oracle Weblogic Server Support 1.0.0.20080808135653 from OEPE 1.0 on Eclipse Web Tools Project (WTP) 3.0.2 & Eclipse J2EE Ganymede SR1.
Temporary Workaround
We have to copy all the generated jar files manually from the generated target lib directory (e.g. D:\xx\xx-src\xx-web\target\xx-web-0.0.1-A-SNAPSHOT\WEB-INF\lib) to the source WEB-INF/lib directory (e.g. D:\xx\xx-src\xx-web\src\main\webapp\WEB-INF\lib)
There is this bug CR305233 appeared in Workshop for Weblogic, but we can't find any references to a resolution of bug CR305233 in later Workshop for Weblogic versions, and can't locate release notes for OEPE 1.0. (Unfortunately the BEA bugzilla site seems to have disappeared).
Have you got any idea to solve this problem?
Thanks