Skip to main content

alphaWorks  >  Forums  >  Service Integration Bus Performance  >  developerWorks

java.lang.NoClassDefFoundError:    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 2 - Pages: 1 - Last Post: Oct 21, 2008 6:27 AM Last Post By: issues@java_help Threads: [ Previous | Next ]
issues@java_help

Posts: 5
Registered: Oct 17, 2008 06:45:16 AM
java.lang.NoClassDefFoundError:
Posted: Oct 21, 2008 05:21:44 AM
Click to report abuse...   Click to reply to this thread Reply
I have created a Module project in WID.
I HAve aready added all the required jars in Java Build path and Jar dependencies and also getting them at compile time.

But when i tried doing test component following error occurs.

java.lang.NoClassDefFoundError: com/ibm/bharti/sdp/nds/exceptions/NDSFailureException
at com.ibm.bharti.sdp.wps.addressservice.AddressServiceImpl.getCutomerAddress(AddressServiceImpl.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.ibm.ws.sca.internal.java.handler.JavaReflectionAdapter$2.run(JavaReflectionAdapter.java:152)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

Kindly tell me the solution if an body out there have faced similar situation.
dgrans

Posts: 26
Registered: Jan 26, 2007 04:13:49 AM
Re: java.lang.NoClassDefFoundError:
Posted: Oct 21, 2008 06:16:50 AM   in response to: issues@java_help in response to: issues@java_help's post
Click to report abuse...   Click to reply to this thread Reply
Hi,

None of these classes are associated with Service Integration Bus Performance tool? The tool should not have any impact on the compilation of your application. Is this posted in the correct forum?

The missing class seems to be one of your own classes "com/ibm/bharti/sdp/nds/exceptions/NDSFailureException". You need to add the jar file containing this class to your build path.
issues@java_help

Posts: 5
Registered: Oct 17, 2008 06:45:16 AM
Re: java.lang.NoClassDefFoundError:
Posted: Oct 21, 2008 06:27:13 AM   in response to: issues@java_help in response to: issues@java_help's post
Click to report abuse...   Click to reply to this thread Reply
Sorry i have mistakenly raised it in this forum. thanks for quick reply.

Point your RSS reader here for a feed of the latest messages in all forums