Skip to Content
0
Mar 17, 2009 at 02:01 PM

NoClassDefFoundError after adding third-party jars... need help

22 Views

Hello SDN! I'm strongly need your help.

I'm developing a WD Java application which contains followed DCs:

AppDC is a Web Dynpro which contains application-depended views, controllers, runnable WD app.

ExporterDC is a Web Dynpro DC with no applications, this is helper DC for export table data into Excel and other formats

MainDC is a Web Dynpro DC with no applications, this is a basis DC. This DC contains some common useful views and controllers which used by AppDC

JavaDC is a Java DC (not J2EE Server Component) which contains my own common helper classes

LibsDC is a External Library DC which contains third-party jars used by apps

J2eeDC is a J2EE Server Component Library DC which is just a wrapper for LibsDC

These DCs has followed dependencies:

LibsDC is Used DC for J2eeDC (both assemble and compile types) with Build-time dependency

J2eeDC is Used DC for JavaDC (defLib) with Build-time and Run-time dependencies

JavaDC is Used DC for ExporterDC, MainDC and AppDC (both assemble and compile types) with Build-time dependency

ExporterDC is Used DC for MainDC (both assemble and compile types) with Build-time dependency

MainDC is Used DC for AppDC (both assemble and compile types) with Build-time dependency

Build perform without errors. I can deploy build results of J2eeDC, ExporterDC, MainDC and AppDC. But when I call my application I get NoClassDefFoundError at row of ExporterDC where is the first call of class from JavaDC which has reference to classes from third-aprty jars.

Please note that I'm not using third-party jars in WD DCs, these jars used only in JavaDC.

I've read quite many threads and blogs but I can't to find solution.

P.S. I'm working with NW 7.0 SP 14, all DCs are local.

Hell will be apriciated!

Regards, Lev