Hi, I am aware that simple JAX-RS WARs made using CXF cannot be directly deployed on JBoss 7 as JBoss itself provides the modules for CXF (the default version I see there is CXF 2.4) and there are some conflicts.
I have tried the steps mentioned on Fandry's page at http://fandry.blogspot.in/2012/05/rest-api-with-cxf-and-spring.html for deploying a REST-ful web-service project using Apache CXF 2.6.2. I have put the cxf-2.6.2.jar file in the org/apache/cxf/main folder and done the entries in the module.xml as advised by him. I have also put the Spring framework JARs after creating the springframework/main folder as advised by him and created the entries in the module.xml there. However, I'm getting the following error message: Could not configure component org.apache.cxf.wsn.client.Publisher Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA S011054: Could not find default constructor for class org.apache.cxf.wsn.client. Publisher "WebService.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."WebService.war".INSTALL: Failed to process phase INSTALL of deployment "WebService.war" Do I need to also deploy the other CXF JARs from the 2.6.2 bundle and create entries for them in the module.xml? I haven't made any changes to the jboss-deployment-structure XML yet - is that mandatory for CXF to work? -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-2-6-2-in-JBoss-7-1-1-tp5730368.html Sent from the cxf-user mailing list archive at Nabble.com.
