File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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: 753
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: 12761
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoClass DefFound Error: javax.xml.ws.Service
 
Similar Threads
JAX-ws client reporting my service is not a valid service! Help!!
Java Client and .net svc web service
[client] NoClassDefFoundError: javax/xml/soap/FactoryLoader
error in calling to web service in dedicated server
Consume a .NET kerberized web service