Executing "mvn install -Dmaven.test.skip=true" under <trunk>/servicemix-web
completes successfully and drops a war into <trunk>/servicemix-web/target,
however when I copy the war to JBoss, it complains with a
ClassNotFoundException when looking for the SpringJBIContainer class:

15:11:20,807 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registerin
g bean with name 'jbi' defined in ServletContext resource
[/WEB-INF/applicationC
ontext.xml]: Bean class
[org.apache.servicemix.jbi.container.SpringJBIContainer]
 not found; nested exception is java.lang.ClassNotFoundException:
org.apache.ser
vicemix.jbi.container.SpringJBIContainer
java.lang.ClassNotFoundException:
org.apache.servicemix.jbi.container.SpringJBIC
ontainer


However, if I execute "<trunk>/mvn install -Dmaven.test.skip=true", copy the
war to JBoss and run, it runs perfectly.


Any ideas as to why the war built from <trunk> runs under JBoss, but when
built under servicemix-web it shoots off a ClassNotFoundException?
--
View this message in context: 
http://www.nabble.com/servicemix-web-war-deployment-fails--t1800297.html#a4906631
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to