cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5894) java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION
Date Fri, 12 Dec 2014 19:04:13 GMT

    [ https://issues.apache.org/jira/browse/CXF-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244620#comment-14244620
] 

Daniel Kulp commented on CXF-5894:
----------------------------------

Also note: if using Java6, you will get 2.1.14 due to Java6 not having the JAXB 2.2 API's
which would be required for any of the 2.2.x versions to work.   Java7 should bring in 2.2.10-*
 (now 2.2.11 if building from the latest source).

> java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION
> ------------------------------------------------------------------------------
>
>                 Key: CXF-5894
>                 URL: https://issues.apache.org/jira/browse/CXF-5894
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.1
>            Reporter: David J. M. Karlsen
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>
> 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:
> {noformat}
> 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]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message