Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1859

Get error running camel example in embedded Servicemix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 4.0
    • None
    • samples
    • None

    Description

      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.

      Attachments

        1. cameldemomvnoutput.log
          22 kB
          Aidan Hollinshead

        Activity

          People

            Unassigned Unassigned
            aidanh Aidan Hollinshead
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: