You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sean Carroll (JIRA)" <ji...@apache.org> on 2014/10/11 23:05:34 UTC

[jira] [Commented] (CXF-5894) java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION

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

Sean Carroll commented on CXF-5894:
-----------------------------------

Why should CXF 3.0.1 be picking up JAXB version 2.2.10-b140310.1920? Looking at mvnrepository (http://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.0.1), it says that it uses 2.1.14 which is what maven is pulling down for me. I have a coworker who is getting 2.2.10-b140310.1920 and we've been unsuccessful in figuring out why I'm getting the version listed by mvnrepository and he's getting the newest beta version

> 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)