cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError on Webservice stub on running.

Former Member
0 Kudos

Hello Gurus,

I'm having a problem while trying to run the webdynpro application. I'm getting noclassdeffounderror on the webservice stub.

Brief insight of the problem.

1. I created a webservice DC (standalone mode) and created a client proxy definition with the given WSDL file.

2. I added the packages to public parts of the DC.

3. In the webdynpro DC - I added this webservice dc as a used dc.

4. Used the stub to issue a request and get a response.

5. Built the webdynpro dc. No problem.

6. Deployed - al no problem.

7. But when I try to run the particular view, the app gets the following exception.

java.lang.NoClassDefFoundError: tsl/com/sper/websvc/AssetCheckOBBindingStub

I'm sure I am missing something very obvious- but I'm new to webdynpro as well as webservice and I would certainly appreciate any help on this.

Regards,

Muthaiah.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

> 2. I added the packages to public parts of the DC.

check if pp was created with type 'assembly' - in this case jar with web service stub will be included in webdynpro ear file.

Former Member
0 Kudos

Hi Muthaiah,

As you are new in webdynpro you can get a lot of help about Web Services Development in Java from this link ( [original link is broken] ).

I think due to missing of some steps in the project you have created you are getting this error. Please try to follow the different tutorials from the above specified link.

Thanks and Regards

Avijit.