3 Replies Latest reply on Jun 11, 2007 6:49 AM by tek no

    ant task produces  java.lang.NoClassDefFoundError: com/sun/m

    tek no Novice

      When I run the wsconsume ant task it produces the error

      java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory


      I can get rid of this by referencing tools.jar in the classpath, but why is this necessary? Whats happening here that the class is not being picked up anyway?

      cheers