Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5894

java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.0.1
    • Fix Version/s: Invalid
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I get java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION when upgrading from 3.0.0 to 3.0.1.

      Full stacktrade:

      Caused by: java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION
              at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:93) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162) ~[jaxb-impl-2.2.7.jar:2.2.7]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) ~[na:1.7.0]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0]
              at java.lang.reflect.Method.invoke(Method.java:607) ~[na:2.6 (06-17-2013)]
              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:259) ~[na:1.7.0]
              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:246) ~[na:1.7.0]
              at javax.xml.bind.ContextFinder.find(ContextFinder.java:443) ~[na:1.7.0]
              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:648) ~[na:1.7.0]
              at org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:347) ~[cxf-core-3.0.1.jar:3.0.1]
      

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              davidkarlsen@gmail.com David J. M. Karlsen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: