camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9321) Blueprint example and archetype does not work when executed with camel:run
Date Fri, 13 Nov 2015 15:13:11 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004096#comment-15004096
] 

ASF GitHub Bot commented on CAMEL-9321:
---------------------------------------

Github user astefanutti closed the pull request at:

    https://github.com/apache/camel/pull/680


> Blueprint example and archetype does not work when executed with camel:run
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-9321
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9321
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.16.0
>            Reporter: Antonin Stefanutti
>            Assignee: Claus Ibsen
>             Fix For: 2.16.1, 2.17.0
>
>
> When running {{mvn camel:run}} in the {{camel-example-sql-blueprint}} module or in a
generate project with the {{camel-archetype-blueprint}} Maven archetype, the following error
occurs:
> {code}
> [ERROR] *************************************
> [ERROR] Error occurred while running main from: org.apache.camel.test.blueprint.Main
> [ERROR] 
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:455)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: Gave up waiting for service (objectClass=org.apache.camel.CamelContext)
> 	at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:265)
> 	at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:226)
> 	at org.apache.camel.test.blueprint.Main.doStart(Main.java:107)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
> 	at org.apache.camel.main.MainSupport.run(MainSupport.java:124)
> 	at org.apache.camel.main.MainSupport.run(MainSupport.java:353)
> 	at org.apache.camel.test.blueprint.Main.main(Main.java:81)
> 	... 6 more
> [ERROR] *************************************
> {code}
> This is due to a missing dependency on {{org.apache.aries.blueprint.core}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message