You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by jraine <ju...@ac-dijon.fr> on 2016/05/11 14:21:23 UTC

Camel, Blueprint and camel:run

I try to execute a route camel create with Blueprint in Eclipse with the
camel:run. I used the archetype camel-archetype-blueprint, I make a easy
blueprint



In eclipse when I launch the command maven mvn camel:run, the route start,
its perfect.

But when I edit the pom.xml and I add a dependency to camel-cxf, if I launch
the camel:run, there is a error.



and



this is my pom.xml



Can you help me to solve this error? please




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by Grzegorz Grzybek <gr...@gmail.com>.
oops, s/osci/osgi/ ...

http://search.maven.org/#artifactdetails|org.osgi|org.osgi.enterprise|5.0.0|jar

cheers
Grzegorz

2016-05-13 10:03 GMT+02:00 jraine <ju...@ac-dijon.fr>:

> There isn't org.osci:org.osgi.enterprise:5.0.0 in maven central.
>
> I add this dependencies in my pom.xml
>
>
> and then the command camel:run works in eclipse without error.
>
> Thank for your help.
>
> I add my full  pom.xml
> <http://camel.465427.n5.nabble.com/file/n5782532/pom.xml>  .
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782532.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: Camel, Blueprint and camel:run

Posted by jraine <ju...@ac-dijon.fr>.
There isn't org.osci:org.osgi.enterprise:5.0.0 in maven central.

I add this dependencies in my pom.xml


and then the command camel:run works in eclipse without error. 

Thank for your help. 

I add my full  pom.xml
<http://camel.465427.n5.nabble.com/file/n5782532/pom.xml>  .



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782532.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by Grzegorz Grzybek <gr...@gmail.com>.
Did you include: org.osci:org.osgi.enterprise:5.0.0 maven dependency?

regards
Grzegorz



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782497.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by jraine <ju...@ac-dijon.fr>.
The route run. but I have always this stacktrace 




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782492.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by Grzegorz Grzybek <gr...@gmail.com>.
@jraine

and? :) does it work or still nothing?

~Grzegorz



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782481.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by jraine <ju...@ac-dijon.fr>.
ok, I updated the version of camel and I added this in the pom : 


thank



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782477.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel, Blueprint and camel:run

Posted by Grzegorz Grzybek <gr...@gmail.com>.
Hi jraine

looks like you're using very very very very old version of camel.

"Caused by: java.lang.IncompatibleClassChangeError:
org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator" means you're
using JDK8 or later with asm version 3 - you should use asm 5.

we've upgraded camel-test-blueprint to use felix-connect instead of PojoSR.
See http://ggrzybek.blogspot.com/2015/12/camel-blueprint-test-support.html
for information about camel-test-blueprint.

regards
Grzegorz Grzybek



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-and-camel-run-tp5782446p5782447.html
Sent from the Camel - Users mailing list archive at Nabble.com.