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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • EAP_EWP 5.3.0.ER1
    • EAP_EWP 5.1.2
    • Web Services
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: