wood burning stoves 2.0*
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
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

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

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753

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

Joined: Mar 22, 2000
Posts: 12761
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.

It is sorta covered in the JavaRanch Style Guide.
subject: java.lang.NoClass DefFound Error: javax.xml.ws.Service
Similar Threads
Java Client and .net svc web service
[client] NoClassDefFoundError: javax/xml/soap/FactoryLoader
JAX-ws client reporting my service is not a valid service! Help!!
error in calling to web service in dedicated server
Consume a .NET kerberized web service