Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3588

CXF "Unable to create JAXBContext for generated packages" error on Windows when classpath is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • jbossws-cxf
    • None

      15:26:06,691 INFO [DynamicClientFactory] Created classes:
      net.webservicex.ChangeLengthUnit, net.webservicex.ChangeLengthUnitResponse,
      net.webservicex.Lengths, net.webservicex.ObjectFactory
      15:26:08,316 INFO [STDOUT] javac: invalid flag:
      C:/Temp/org.apache.cxf.endpoint.dynamic.DynamicClientFactory@19b0120-1355516766691-classes
      Usage: javac <options> <source files>
      use -help for a list of possible options
      15:26:08,348 SEVERE [DynamicClientFactory] Could not compile java files for
      http://www.webservicex.net/length.asmx?WSDL.
      15:26:08,410 ERROR [TargetServiceAction] java.lang.IllegalStateException:
      Unable to create JAXBContext for generated packages: "net.webservicex"
      doesnt contain ObjectFactory.class or jaxb.index

      Run attached jms_topic.zip to reproduce the error. This only happens on Windows, not on OSX or Linux.

              rhn-engineering-ema Jim Ma
              rhn-support-dboeren David Boeren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: