I am using a binary version of ServiceMix 3.2 downloaded from http://people.apache.org/~ffang/servicemix3.2/org/apache/servicemix/apache-servicemix/3.2/apache-servicemix-3.2.zip. I want to run the camel sample given in servicemix/samples/camel. I followed the instructions as per http://incubator.apache.org/servicemix/camel-example.html i.e D:\Samples_Camel> mvn install -Dmaven.test.skip=true It generated the ServiceAssembly zip and jar files without any build errors (but build was giving errors with test). I started the servicemix using bin\servicemix.bat and copied the Service Assembly jar into the hotdeploy directory.
It gave the error mentioned in the below snippet. INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed: processing camel-sa-3.2-SNAPSHOT.jar ... ERROR - AutoDeploymentService - Failed to update Service Assembly: camel-sa java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-camel</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>Could not deploy xbean service unit</loc-message> </msg-loc-info> </task-status-msg> <exception-info> <nesting-level>1</nesting-level> <msg-loc-info> <loc-token/> <loc-message>org.springframework.beans.factory.BeanCreationException: Error crea ting 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 be an with name 'camelContext': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/s pringframework/aop/support/AopUtils</loc-message> <stack-trace><