Get error running camel example in embedded Servicemix
------------------------------------------------------

                 Key: SM-1859
                 URL: https://issues.apache.org/activemq/browse/SM-1859
             Project: ServiceMix
          Issue Type: Bug
          Components: samples
    Affects Versions: 4.0
            Reporter: Aidan Hollinshead


In SMX 4, when I try to run the Camel example in embedded servicemix the 
README.txt say to type

  cd camel-sa
  mvn jbi:servicemix

there is a link at the bottom to a page on the servicemix website 
(http://servicemix.apache.org/camel-example.html)

That page says to type

  cd samples/camel
  mvn install
  cd camel-sa
  mvn jbi:servicemix

I get the follow error

 org.springframework.beans.factory.BeanCreationException: 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.util.ObjectHelper.getSystemProperty(Ljava/lang/String;Ljava/lang/Boolean;)Z

the full maven build output is attached.

Deploying the demo into an existing servicemix container worked fine.







-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to