on 10-21-2009 4:04 AM
Dear All:
I've created 2 java dc.
I assinged the second dc as a used dc for the first dc.
I've created a web dynpro dc and add the first dc as used dc.
I can build those three dc without any error, but when I deploy to server and run I got an exception "java.lang.NoClassDefFoundError"
Is there anyone know how to fix it.
thanks in advance.
Allen.
Hi Allen,
I believe the following link will help you create two public parts (for Compile Time and for Runtime) of the wrapper DC and then include the Public Parts in the Used DCs of the Final Development Component.
http://help.sap.com/saphelp_nw70/helpdata/en/42/43973fade73c17e10000000a114084/frameset.htm
Without adding the Public Parts, your final DC to consume the Java Library would not show any Compile Time Error but would throw Class Definition Not Found Exception even though you deploy the wrapper DC on the Server. This should solve your problem. For any clarification you can always come back to me.
Regards,
Tushar Sinha,
Infosys,
Hyderabad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to include both java DCs in your Web Dynpro DC, since a Java DC is not deployed by itself, but always needs to be wrapped in some other DC (Web Dynpro/J2EE library/Web Module).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.