Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-701

(JBPAPP-1887) WSPROVIDE.bat does not put jaxb-xjc.jar in the classpath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR2
    • 2.0.0.GA
    • server
    • Workaround Exists
    • Hide

      place this under

      [YOUR-EAP-INSTALLATION]/jboss-as/bin/wsprovide.bat

      set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar

      Show
      place this under [YOUR-EAP-INSTALLATION] /jboss-as/bin/wsprovide.bat set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar

      While trying to use the Web Service Wizard to create a 'Bottup up Java bean Web Service' I get the following error "The system cannot find the path specified."

      and additionally

      "Error: Could not generate. (use --show-traces to see full traces)
      Error: com/sun/codemodel/JExpression"

      more stack traces by adding --show-traces to the wsprovide.bat and trying to create the web service again
      eg. "%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSPROVIDE_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSProvide --show-traces %*

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            skoussou Stelios Koussouris (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: