on 03-06-2009 3:45 PM
Hi,
I have the following Problem:
We run a Web AS Java with SP 18. I defined a Web DynPro DC and an External Library DC. Within the External Library DC I added two public parts( one assembly( linked to the Web DynPro DC at runtime(strong) and buildtime, the other is compilation linked with buildtime).
I can add the Model without Problem, and the Web DynPro DC is build without error. But everytime I run the application I get an "java.lang.NoClassDefFoundError" exception on the used model class.
As Dependency for the SC I defined
SAP-JEE 6.40
SAP_JTECHS 6.40
SAP_BUILDT 6.40
Does anyone know what I do wrong?
Thanks for your help,
Michael
Hi Michael
One Question :How you added the public parts of External Library DC?
If it is publish as file then change it to publish as archive the NotClassFoundException will be solved.
Note : Defined it for compilation and assembly build the External Library DC and webdynpro DC ,Deploy only webdynpro Dc.
Hope it help you
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
where do I set publish as archive?
I just am in the NWDS and select "DC Metadata->DC Definition->Used DC->Add DC" to add the
Compilation and the Assembly public part.
I also updated the dependencies for the SC I defined( I also checked in and all)
SAP-JEE 7.00 ( SP 18)
SAP_JTECHS 7.00 ( SP 18)
SAP_BUILDT 7.00 ( SP 9)
Thanks for your help,
Michael
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.