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] Created: (CXF-2757) Hard binding with JAXBDataBinding
Date Wed, 07 Apr 2010 17:14:34 GMT
Hard binding with JAXBDataBinding
---------------------------------

                 Key: CXF-2757
                 URL: https://issues.apache.org/jira/browse/CXF-2757
             Project: CXF
          Issue Type: Improvement
          Components: Aegis Databinding
            Reporter: Rolf Thunbo
            Priority: Minor
             Fix For: 2.3


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 'eu.barkode.tinglysning.webservice.cxf.ServerFactoryBean#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