5 Replies Latest reply on Feb 7, 2008 3:37 AM by Richard Opalka

    NoClassDefFoundError: com/sun/xml/stream/buffer/XMLStreamBuf

    Thomas Hofmann Newbie

      I downloaded jbossws-native-2.0.3.GA. Using wsconsume ("contract-first") on the command line works fine but as an ant task (in eclipse) I get this error: NoClassDefFoundError: com/sun/xml/stream/buffer/XMLStreamBuffer. JDK is 1.5.0_06. I reference following jar files in my ant task (path id):

      jbossws-spi.jar
      jboss-xml-binding.jar
      wstx.jar
      activation.jar
      javassist.jar
      getopt.jar
      jaxb-api.jar
      stax-api.jar
      jaxb-impl.jar
      jaxb-xjc.jar
      jaxws-rt.jar
      jaxws-tools.jar
      jbossall-client.jar
      jboss-saaj.jar
      jboss-jaxrpc.jar
      jboss-jaxws.jar
      jbossws-client.jar
      log4j.jar
      mail.jar

      I read something about the bug http://jira.jboss.com/jira/browse/JBWS-1711 in JIRA and it should be resolved. Any hint, what is wrong in my ant task?