The moose likes Web Services and the fly likes Class not found when using wsgen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Class not found when using wsgen" Watch "Class not found when using wsgen" New topic

Class not found when using wsgen

RayZ Wilson

Joined: Jan 22, 2010
Posts: 3

I am trying to use wsgen and I keep getting the dreaded class not found message. I know the class compiled with the correct annotations is present but my question is this. What should the -classpath attribute for wsgen be pointing at? Just the class I want to convert to web service artifacts or all of the jax-ws support classes or both? Any experience from a successful user of wsgen would be appreciated. I'm cornfusticated!


Keep imagining, keep inventing, stay ingenious.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Right, the annotated endpoint implementation class have to be on the classpath. When I use wsgen, I use the command in the Java SE 6 JDK, see another post in this forum:
Best wishes!
subject: Class not found when using wsgen
It's not a secret anymore!