Hi,

I wrote a simple Apache CXF rest webservices using spring beans. When I
deployed it in tomcat it is working fine and I'm able to see the result.

I made the whole project into .WAR file and deployed it in service mix. When
I try to access the service from browser, I'm getting the following
exception.

*contextLoader                    | 121 - org.springframework.web -
3.0.7.RELEASE | Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from ServletContext resource
[/WEB-INF/beans.xml]; nested exception is
org.springframework.beans.FatalBeanException: Class
[org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace
[http://cxf.apache.org/jaxrs] does not implement the
[org.springframework.beans.factory.xml.NamespaceHandler] interface*

I have all the necessary spring jar files in the lib folder which gets
bundled with .WAR file itself. Can someone please help.



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Apache-CXF-with-Spring-beans-deployed-on-Service-mix-throws-org-springframework-beans-factory-BeanDen-tp5717092.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to