on 03-12-2009 3:10 PM
Hi all,
I have a WD DC application that uses another Java DC, which has two simple classes - Global and LongTextRow (Both exposed in a single PP as both source and class).
When I try to run the WD app I get the following error - java.lang.NoClassDefFoundError: com/taldor/LongTextRow.
Something is not deployed correctly (I guess)....
Please help,
Aviad
Hi Aviad,
As Java DC cannot be deployed directly onto the server, you need to wrap it in a library DC to deploy it.
Since LongTextRow class is required at runtime now, you need to follow the above way.
It might be the case that initially you may not be referencing the Global class at runtime & might be required at design time (build time) only.
Hope this clarifies.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aviad,
As far I know, you need to follow the library DC approach to make the java classes available at runtime.
I hope you also did the DC build for the Java DC after adding the second class to the public part so that it is available to WD DC.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aviad,
Refer to SAP Library link http://help.sap.com/saphelp_nw70/helpdata/EN/98/db58405e21ef6fe10000000a1550b0/content.htm
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aviad,
You need to deploy the Java DC onto the server also as these classes are not available at runtime.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.