Rest Service deployment issue on JBossWS-CXF-3.4.0 and JBoss 5.1Kyle Bober Jun 20, 2011 11:56 AM
We have a war that contains some Rest Services using Apache CXF. When we try to deploy the wat to JBoss 5.1 using JBossWS-CFX-3.4.0 and using Spring 3.0.5 we run into the following deployment error:
Unexpected exception parsing XML document from class path resource [spring/DocumentQueryRestContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
I have noticed a similar thread related to this here (although this is related to JBoss 6 ):
I have a feeling this might be a classloader issue of some sort related to an offending JAR. Does anyone have any thoughts??? I am loosing my mind trying to resolve this issue.
Thanks,
kyle
1. Re: Rest Service deployment issue on JBossWS-CXF-3.4.0 and JBoss 5.1Leon Doud Sep 20, 2011 9:40 AM (in response to Kyle Bober)
2. Re: Rest Service deployment issue on JBossWS-CXF-3.4.0 and JBoss 5.1Richard Opalka Sep 22, 2011 3:48 AM (in response to Kyle Bober)
JBossAS comes with its own REST integration.
It's highly suggested that our users reuse it
instead of using thirdparty solutions