camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Problem running camel-example-cxf-osgi
Date Sun, 30 Oct 2011 23:10:21 GMT
Hello, I'm trying to run the Camel 2.8.2 sample "camel-example-cxf-osgi" 
on Apache Karaf 2.2.4.  Following these instructions:, 
I'm able to run the first four of these five commands with no problem:

features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features
features:install war
features:install camel-spring
features:install camel-jaxb
features:install camel-cxf

The last command above, however, reports this error:

karaf@root> features:install camel-cxf
Error executing command: Could not start bundle 
mvn:org.apache.camel/camel-cxf-transport/2.8.2 in feature(s) 
camel-cxf-2.8.2: Unable to resolve module org.apache.cxf.bundle [137.0] 
because it is exposed to package 'javax.xml.bind.attachment' from 
org.apache.felix.framework [0] and 
org.apache.servicemix.specs.jaxb-api-2.2 [53.0] via two dependency chains.

Chain 1:
   org.apache.cxf.bundle [137.0]
     import: (package=javax.xml.bind.attachment)
     export: package=javax.xml.bind.attachment
   org.apache.felix.framework [0]

Chain 2:
   org.apache.cxf.bundle [137.0]
     import: (
   org.apache.servicemix.bundles.jaxb-xjc [58.0]
     import: (&(package=javax.xml.bind)(version>=2.2.0)(!(version>=3.0.0)))
     export: package=javax.xml.bind; uses:=javax.xml.bind.attachment
     export: package=javax.xml.bind.attachment
   org.apache.servicemix.specs.jaxb-api-2.2 [53.0]

Any idea what the solution would be?


Glen Mazza
Talend -
Blog -
Twitter - glenmazza

View raw message