[jboss-user] [JBoss Web Services CXF] New message: "exception on JBoss startup"

S Bapat do-not-reply at jboss.com
Tue Feb 9 12:59:04 EST 2010


User development,

A new message was posted in the thread "exception on JBoss startup":

http://community.jboss.org/message/525180#525180

Author  : S Bapat
Profile : http://community.jboss.org/people/bapats

Message:
--------------------------------------------------------------
I am trying to develop a web service using jbossws-cxf-3.2.2 on jboss 5.10. I followed the maven instructions on the apache-cxf tutorial, and using the jboss cxf user guide to create jbossws-cxf.xml. After building and deploying the war, I get the following exception on startup. 
 
11:32:42,011 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'POJOEndpoint': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.jboss.wsf.stack.cxf.InvokerJSE] to required type [org.apache.cxf.service.invoker.Invoker] for property 'invoker'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.jboss.wsf.stack.cxf.InvokerJSE] to required type [org.apache.cxf.service.invoker.Invoker] for property 'invoker': no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
 
...
 
Any ideas on why I am getting this exception? Here are the contents of the war file I created. The JBoss csf guide is not clear about what jars to include or exclude. I assumed that the cxf and spring dependencies should be included. Any help is greatly appreciated.
 
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/com/
WEB-INF/classes/com/test/
WEB-INF/classes/com/test/
WEB-INF/lib/
index.jsp
WEB-INF/classes/com/test/HelloWorld.class
WEB-INF/classes/com/test/HelloWorldImpl.class
WEB-INF/jboss-web.xml
WEB-INF/jbossws-cxf.xml
WEB-INF/lib/aopalliance-1.0.jar
WEB-INF/lib/asm-2.2.3.jar
WEB-INF/lib/commons-lang-2.4.jar
WEB-INF/lib/commons-logging-1.1.1.jar
WEB-INF/lib/cxf-api-2.2.5.jar
WEB-INF/lib/cxf-common-schemas-2.2.5.jar
WEB-INF/lib/cxf-common-utilities-2.2.5.jar
WEB-INF/lib/cxf-rt-bindings-soap-2.2.5.jar
WEB-INF/lib/cxf-rt-bindings-xml-2.2.5.jar
WEB-INF/lib/cxf-rt-core-2.2.5.jar
WEB-INF/lib/cxf-rt-databinding-jaxb-2.2.5.jar
WEB-INF/lib/cxf-rt-frontend-jaxws-2.2.5.jar
WEB-INF/lib/cxf-rt-frontend-simple-2.2.5.jar
WEB-INF/lib/cxf-rt-transports-http-2.2.5.jar
WEB-INF/lib/cxf-rt-ws-addr-2.2.5.jar
WEB-INF/lib/cxf-tools-common-2.2.5.jar
WEB-INF/lib/geronimo-activation_1.1_spec-1.0.2.jar
WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.1.jar
WEB-INF/lib/geronimo-javamail_1.4_spec-1.6.jar
WEB-INF/lib/geronimo-jaxws_2.1_spec-1.0.jar
WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar
WEB-INF/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar
WEB-INF/lib/jaxb-api-2.1.jar
WEB-INF/lib/jaxb-impl-2.1.12.jar
WEB-INF/lib/neethi-2.0.4.jar
WEB-INF/lib/saaj-api-1.3.jar
WEB-INF/lib/saaj-impl-1.3.2.jar
WEB-INF/lib/spring-beans-2.5.5.jar
WEB-INF/lib/spring-context-2.5.5.jar
WEB-INF/lib/spring-core-2.5.5.jar
WEB-INF/lib/spring-web-2.5.5.jar
WEB-INF/lib/stax-api-1.0-2.jar
WEB-INF/lib/wsdl4j-1.6.2.jar
WEB-INF/lib/wstx-asl-3.2.9.jar
WEB-INF/lib/xml-resolver-1.2.jar
WEB-INF/lib/XmlSchema-1.4.5.jar
WEB-INF/web.xml
META-INF/test/
META-INF/maven/test/

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525180#525180




More information about the jboss-user mailing list