[jboss-user] [JBossWS] - wsconsume fails on NoClassDefFoundException (AS 4.2.2)

AceFrehley do-not-reply at jboss.com
Thu Nov 6 12:15:10 EST 2008


Hi. I have created a web service using annotations, but when I try to generate the client code I keep getting this exception:

 
  | sudo sh ./wsconsume.sh -k -o ~/wstest/bin/ -s ~/wstest/src/ -p test.ws.client http://myurl:8080/mywebproject/mywebservice?wsdl
  | Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
  | 

I am using java 1.5, and tools.jar is being added to the classpath, according to the wsconsume.sh script.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187438#4187438

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187438



More information about the jboss-user mailing list