Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic