cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin E Schnake (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5894) java.lang.NoSuchFieldError: com/sun/xml/bind/v2/model/nav/Navigator.REFLECTION
Date Fri, 16 Jan 2015 19:46:35 GMT

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

Kevin E Schnake commented on CXF-5894:
--------------------------------------

I'm seeing the above or similar issue using CXF 3.0.3 and JAXB 2.2.10-b140310.1920 with java
7. Anybody seen this?

 
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing
XML document from URL [jndi:/localhost/iw/WEB-INF/cxf-servlet.xml]; nested exception is java.lang.NoSuchFieldError:
REFLECTION
	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
	org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
	org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)



java.lang.NoSuchFieldError: REFLECTION
	com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:49)
	com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:406)
	com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:270)
	com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:103)
	com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:81)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:248)
	javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:235)
	javax.xml.bind.ContextFinder.find(ContextFinder.java:432)
	javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:637)
	org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:345)
	org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:343)
	
>grep spring- tree
[INFO] +- org.springframework:spring-orm:jar:3.2.4.RELEASE:compile
[INFO] |  +- org.springframework:spring-beans:jar:3.2.4.RELEASE:compile
[INFO] |  +- org.springframework:spring-core:jar:3.2.4.RELEASE:compile
[INFO] |  \- org.springframework:spring-tx:jar:3.2.4.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:3.2.4.RELEASE:compile
[INFO] |  +- org.springframework:spring-aop:jar:3.2.4.RELEASE:compile
[INFO] |  \- org.springframework:spring-context:jar:3.2.4.RELEASE:compile
[INFO] |     \- org.springframework:spring-expression:jar:3.2.4.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:3.2.4.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:3.2.4.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:3.2.4.RELEASE:compile

>grep cxf- tree
[INFO] |  \- org.apache.cxf:cxf-rt-bindings-soap:jar:3.0.3:compile
[INFO] |     +- org.apache.cxf:cxf-rt-wsdl:jar:3.0.3:compile
[INFO] |     \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.0.3:compile
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.0.3:compile
[INFO] |  +- org.apache.cxf:cxf-core:jar:3.0.3:compile
[INFO] |  +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.0.3:compile
[INFO] |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.0.3:compile
[INFO] |  \- org.apache.cxf:cxf-rt-ws-addr:jar:3.0.3:compile
[INFO] |     \- org.apache.cxf:cxf-rt-ws-policy:jar:3.0.3:compile
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.0.3:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-jms:jar:3.0.3:test
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:3.0.3:compile
[INFO] +- org.apache.cxf.xjc-utils:cxf-xjc-runtime:jar:3.0.3:compile

>grep jaxb- tree
[INFO] |        \- com.sun.xml.bind:jaxb-core:jar:2.2.10-b140310.1920:compile


> 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