on 05-12-2011 10:25 PM
Hi,
We are building a WebDynpro application with an external library called "XYZ.jar". The compile moment is OK, the problem occurs at Runtime, when I try the command " ... = new XYZ()", the message " java.lang.NoClassDefFoundError " .
Important to say that I tested the library by "public static void main ..." and it worked.
Any help for my case?
Thanks in advance.
Edited by: Alexandre Jantsch on May 12, 2011 11:26 PM
did you follow any doc regarding how to use external lib? if not, please find some in sdn.
you have to wrap the lib in a ear project. your web dynpro has to add runtime dependency to the ear project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All suggestions helped. Follow them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandre,
Please check the external library DC is build successfully or not. then check the DC where you have used the external library DC. Also check the DC properties >> library whether used DC is added or not.
Please try to do the sync and sync used Dc and then test it.
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.