I'm trying to use Spring 3.0.0 M1 with CXF by replacing the
spring-xxx-2.0.8.jar files with the Spring jars, but I'm seeing the
following exception when trying to start Tomcat 6.0.18. 

Is CXF compatible with Spring 3.0.0?


15:03:03.550 [main] ERROR o.s.web.context.ContextLoader - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.cxf.binding.soap.customEditorConfigurer' defined in
class path resource [META-INF/cxf/cxf-extension-soap.xml]: Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.util.LinkedHashMap] to required type [java.util.Map] for
property 'customEditors'; nested exception is
java.lang.IllegalArgumentException: Cannot convert value of type
[org.apache.cxf.binding.soap.SoapVersionEditor] to required type
[java.lang.String] for property
'customEditors[org.apache.cxf.binding.soap.SoapVersion]': no matching
editors or conversion strategy found
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:482)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:411)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:382)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:174)
        at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:875)
        at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:525)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
....

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Is-CXF-%282.1.4%29-compatible-with-Spring-3.0.0-%28M1%29--tp21966646p21966646.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to