How to run a Camel Blueprint project with mvn camel:run

Solution Verified - Updated -


  • How do I run a Camel Blueprint project with mvn camel:run?
  • I receive the following error when running a Camel Blueprint project with mvn camel:run
Error occurred while running main from: org.apache.camel.test.blueprint.Main
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.apache.camel.maven.RunMojo$
Caused by: java.lang.RuntimeException: Gave up waiting for service (objectClass=org.apache.camel.CamelContext)
    at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(
    at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(
    at org.apache.camel.test.blueprint.Main.doStart(
    at org.apache.camel.test.blueprint.Main.main(
    ... 6 more
  • I am not able to run camel route in eclipse(I am using camel blueprint). the route is not loaded getting exception while running with "camel:run" goal.


  • Red Hat JBoss Fuse
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content