You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by skompelly <sk...@gmail.com> on 2011/09/26 09:56:43 UTC

Servicemix 4.3.1 spring deployment error

Hi,

I have deployed a .war file into the servicemix and getting below error. 

Background about the war file.

The same war file is working in jboss. War file contains spring 2.0 related
jar file dependencies in web-inf\lib directory. 

applicationContext.xml is in META-INF\spring directory.

apache servicemix 4.3.1 has spring 3.0.5 version bundles active. 

Please can anyone help me to solve the below issue, i tried different
options but i was not successful.

What changes i have to do to my war or servicemix so that the war will be
deployed correctly in servicemix.

09:39:23,838 | DEBUG | ExtenderThread-3 | OsgiBundleXmlApplicationContext  |
Pre refresh error
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from URL
[bundleentry://308.fwk16837612/META-INF/spring/applicationContext.xml];
nested exception is org.springframework.beans.FatalBeanException: Class
[org.springframework.aop.config.AopNamespaceHandler] for namespace
[http://www.springframework.org/schema/aop] does not implement the
[org.springframework.beans.factory.xml.NamespaceHandler] interface
	at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)[59:org.springframework.beans:3.0.5.RELEASE]
	at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[59:org.springframework.beans:3.0.5.RELEASE]

Thanks in advance,

Regards,
Santosh
	at 

--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-1-spring-deployment-error-tp4840528p4840528.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.