2 Replies Latest reply on Nov 10, 2008 9:37 AM by Brendan Farragher

    wsconsume fails on NoClassDefFoundException (AS 4.2.2)

    Brendan Farragher Newbie

      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.