[ https://issues.apache.org/jira/browse/CAMEL-9463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-9463. -------------------------------- Resolution: Workaround Assignee: Claus Ibsen Fix Version/s: 2.18.0 Using Guice 3.x on OSGi that works. > Camel-guice OSGi dependency resolution fails > -------------------------------------------- > > Key: CAMEL-9463 > URL: https://issues.apache.org/jira/browse/CAMEL-9463 > Project: Camel > Issue Type: Bug > Components: camel-guice > Affects Versions: 2.16.1 > Environment: Karaf 3.0.5 / 4.0.3 > Reporter: Frédérik ROULEAU > Assignee: Claus Ibsen > Priority: Minor > Labels: karaf, osgi > Fix For: 2.18.0 > > > Camel-guice feature file says it requires com.google.inject/guice/4.0. That > bundle do not export com.google.inject.internal.* classes that are required > by camel-guice bundle. This leads to the error: > Unsatisfied requirement(s): > --------------------------- > > package:(&(package=com.google.inject.internal)(version>=1.2.0)(!(version>=4.0.0))) > In version 2.15, camel-guice feature was installing guice from service-mix > bundle which was exporting the com.google.inject.internal package. > It seems that there is no equivalent ServiceMix version for guice-4 -- This message was sent by Atlassian JIRA (v6.3.4#6332)