Hi, I have a service assembly that uses a camel SU which deploys fine if using SM3.3 standalone. However whenever I deploy it in an instance running on tomcat I always get this camel related error on deployment:
<loc-message>Error creating bean with name 'camelContext:beanPostProcessor': Cannot resolve reference to bean 'camelContext' while setting bean property 'camelContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelContext': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.camel.spring.SpringCamelContext.addRoutes(Lorg/apache/camel/Routes;)V</loc-message> Here is my camel-context.xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd "> <camelContext id="camelContext" xmlns="http://activemq.apache.org/camel/schema/spring"> <package>nz.fujitsu.com</package> <package>nz.fujitsu.com.processor</package> </camelContext> <bean id="nztaSoapRouteBuilder" class="nz.fujitsu.com.NZTASoapRouteBuilder"> <property name="treisNameSpace" value="${treis.soap.namespace}" /> </bean> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:conf/servicemix.development.properties</value> </list> </property> </bean> </beans> I've already placed a copy of servicemix-camel-2008.01.zip in the deploy folder as well as the other components I've used. Any other libraries I need to put somewhere inside my tomcat folders? Thanks. -- View this message in context: http://www.nabble.com/SpringCamelContext-exception-when-deploying-to-SM-inside-tomcat-tp22796378p22796378.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
