aspose file tools*
The moose likes Web Services and the fly likes java.lang.NoClass DefFound Error: javax.xml.ws.Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java.lang.NoClass DefFound Error: javax.xml.ws.Service" Watch "java.lang.NoClass DefFound Error: javax.xml.ws.Service" New topic
Author

java.lang.NoClass DefFound Error: javax.xml.ws.Service

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
Hello,

I have created web service using jax-ws, and have deployed the the service on tomcat 5.0, I'm using web services development pack 2.0.

I've written a servlet for Client, but i'm getting following error.

java.lang.NoClassDefFoundError: javax.xml.ws.Service


Jigar Naik


William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Note that Tomcat will NOT use your environment classpath. See the class-loader-howto.html fill usually installed with Tomcat for information on where library jar files must be located so that classes can be found.

Bill
 
Consider Paul's rocket mass heater.
 
subject: java.lang.NoClass DefFound Error: javax.xml.ws.Service