While trying to deploy the ffg config below:
<camelContext trace="true" xmlns="http://camel.apache.org/schema/spring">
<camel:route>
<from
uri="nmr:endpoint:{http://tempuri.org/}nauRoute/nauRouteEndpoint"/>
<to uri="log:servicesLog" />
</camel:route>
</camelContext>
I encountered th fgg err
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in
OSGi
resource[classpath:META-INF/cxf/cxf-extension-soap.xml|bnd.id=238|bnd.sym=nau-college-cxfbc]:
Cannot create inner bean
'org.apache.cxf.binding.soap.spring.SoapVersionRegistrar#10bb37b' of type
[org.apache.cxf.binding.soap.spring.SoapVersionRegistrar] while setting bean
property 'propertyEditorRegistrars' with key [0]; nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
class [org.apache.cxf.binding.soap.spring.SoapVersionRegistrar] for bean
with name 'org.apache.cxf.binding.soap.spring.SoapVersionRegistrar#10bb37b'
defined in OSGi
resource[classpath:META-INF/cxf/cxf-extension-soap.xml|bnd.id=238|bnd.sym=nau-college-cxfbc];
nested exception is java.lang.ClassNotFoundException:
org.apache.cxf.binding.soap.spring.SoapVersionRegistrar not found from
bundle [nau-college-cxfbc]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
What could be the cause? Do I have to include a package in my POM?
See POM include
<Import-Package>javax.jws,
javax.wsdl,
javax.xml.bind,
javax.xml.bind.annotation,
javax.xml.namespace,
javax.xml.ws,
META-INF.cxf,
META-INF.cxf.osgi,
META-INF.cxf.transport.nmr,
org.apache.servicemix.camel.nmr,
org.apache.servicemix.cxf.transport.nmr,
org.apache.servicemix.nmr.api,
org.apache.servicemix.nmr.api.event,
org.apache.servicemix.nmr.api.internal,
org.apache.cxf.bus,
org.apache.cxf.bus.spring,
org.apache.cxf.bus.resource,
org.apache.cxf.configuration.spring,
org.apache.cxf.resource,
org.apache.cxf.jaxws,
org.apache.servicemix.cxf.transport.http_osgi,
org.springframework.beans.factory.config,
*,
org.apache.servicemix.cxfse,
org.apache.servicemix.common.osgi
</Import-Package>
kr.
--
View this message in context:
http://old.nabble.com/Cannot-find-class--org.apache.cxf.binding.soap.spring.SoapVersionRegistrar-tp26625142p26625142.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.