Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deploy to JAR: Classpath not Working

CInglezJun 26 2013 — edited Jul 2 2013

Hello.

I am deploying an application into an .jar file. I need to include several other jar files (Axis2) into the package. I created a deployment profile (jar file), included all those jars into a file group. Whan I try to execute, I always get :

java.lang.NoClassDefFoundError: org/apache/axis2/databinding/ADBBean

I tried to include a MANIFEST.MF fragment containing the classpath, but it does not work (if I unpack the jar file and look into the MANIFEST.MF, it does not have the classpath). What is the best way to include those libraries?

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2013
Added on Jun 26 2013
10 comments
1,035 views