I am trying to deploy a cxf webservice and below is the error I get. I
request help in resolving this. Thanks in advance.

I'm using the following:
Jboss4.2.3
JDK1.6
Spring 3.0.6 Release
apache-cxf-2.5.0 and its depending Libraries.

Error
23:47:21,203 INFO  [STDOUT] 23:47:21,203 INFO  [ContextLoader] Root
WebApplicationContext: initialization started
23:47:22,035 INFO  [STDOUT] 23:47:22,035 INFO  [XmlWebApplicationContext]
Refreshing Root WebApplicationContext: startup date [Thu Dec 01 23:47:22 CET
2011]; root of context hierarchy
23:47:23,216 INFO  [STDOUT] 23:47:23,216 INFO  [XmlBeanDefinitionReader]
Loading XML bean definitions from ServletContext resource
[/WEB-INF/beans.xml]
23:47:23,306 INFO  [STDOUT] 23:47:23,306 INFO  [XmlBeanDefinitionReader]
Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
23:47:23,527 INFO  [STDOUT] 23:47:23,527 INFO  [XmlBeanDefinitionReader]
Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-soap.xml]
23:47:23,587 INFO  [STDOUT] 23:47:23,587 INFO  [XmlBeanDefinitionReader]
Loading XML bean definitions from class path resource
[META-INF/cxf/cxf-servlet.xml]
23:47:25,840 INFO  [STDOUT] 23:47:25,840 INFO  [DefaultListableBeanFactory]
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1a95a1d:
defin
ing beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf
.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,openEMPIWebService];
root of factory hierarchy
23:47:26,832 INFO  [STDOUT] 23:47:26,832 INFO  [DefaultListableBeanFactory]
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1a95a1d:
defining bea
ns
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.bindin
g.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,openEMPIWebService];
root of factory hierarchy
23:47:27,302 INFO  [STDOUT] 23:47:27,302 ERROR [ContextLoader] Context
initialization failed
org.springframework.beans.factory.BeanCreationException: *Error creating
bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]:
Instantiation of bean failed; nested except
ion is org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.cxf.bus.spring.SpringBus]: Constructor
threw exception; nested exception is java.lang
.IncompatibleClassChangeError: Implementing class
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)*
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:936)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:488)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:459)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-error-IncompatibleClassChangeError-AbstractAutowireCapableBeanFactory-tp5040191p5040191.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to