cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rolf Thunbo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2757) Hard binding with JAXBDataBinding
Date Wed, 07 Apr 2010 20:02:33 GMT

     [ https://issues.apache.org/jira/browse/CXF-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rolf Thunbo updated CXF-2757:
-----------------------------

    Affects Version/s: 2.3
        Fix Version/s:     (was: 2.3)

> Hard binding with JAXBDataBinding
> ---------------------------------
>
>                 Key: CXF-2757
>                 URL: https://issues.apache.org/jira/browse/CXF-2757
>             Project: CXF
>          Issue Type: Improvement
>          Components: Aegis Databinding
>    Affects Versions: 2.3
>            Reporter: Rolf Thunbo
>            Priority: Minor
>
> I'm trying out the Aegis databinding with CXF, and have therefore excluded the JAXB databinding
jars from the classpath for my Jetty server. I get the following exception when the server
beans is instantantiated. Obviously it works fine with the JAXB databinding jars on the classpath.

> 2010-04-07 19:01:30,532 [main] WARN org.eclipse.jetty.util.log - Nested in org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'xx.yy.zz.XYZ#0' defined in class path resource [WEB-INF/spring/applicationContext-cxf.xml]:
Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/cxf/jaxb/JAXBDataBinding:
> java.lang.ClassNotFoundException: org.apache.cxf.jaxb.JAXBDataBinding
> 	at java.net.URLClassLoader$1.run(Unknown Source) [na:1.6.0_16]
> 	at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_16]
> 	at java.net.URLClassLoader.findClass(Unknown Source) [na:1.6.0_16]
> 	at java.lang.ClassLoader.loadClass(Unknown Source) [na:1.6.0_16]
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) [na:1.6.0_16]
> 	at java.lang.ClassLoader.loadClass(Unknown Source) [na:1.6.0_16]
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source) [na:1.6.0_16]
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:553)
[cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:529)
[cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:474)
[cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:565)
[cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:543)
[cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:280)
[cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:182)
[cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
[cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:148) [cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:171)
[cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar:2.3.0-SNAPSHOT]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message