Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-354

Wstools throws java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/TypeMapping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.2.0.GA_CP02
    • 4.2.0.GA, 4.2.0.GA_CP01
    • Documentation
    • None
    • Windows

    • Hide

      Add the following to wstools.bat or wstools.sh:

      set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar
      set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
      set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
      set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar

      Show
      Add the following to wstools.bat or wstools.sh: set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar

      When we use wstools to generate JAX-RPC artifacts the following exception is thrown:

      Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/TypeMapping
      at org.jboss.ws.tools.WSTools.process(WSTools.java:130)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
      at org.jboss.ws.tools.WSTools.main(WSTools.java:58)

              rhn-support-hbraun Heiko Braun
              mageshbk_jira Magesh Bojan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: