[
https://issues.apache.org/jira/browse/CAMEL-15596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211566#comment-17211566
]
Claus Ibsen commented on CAMEL-15596:
-------------------------------------
Can you try with karaf 4.2.1, as that is the version camel 2.25.x was tested
against. Just to see if it works on older karaf version and its something in
karaf change that is causing a problem like this.
> camel-jacksonxml feature install failed due to stax2 version
> ------------------------------------------------------------
>
> Key: CAMEL-15596
> URL: https://issues.apache.org/jira/browse/CAMEL-15596
> Project: Camel
> Issue Type: Bug
> Components: osgi
> Affects Versions: 2.24.2, 2.25.2
> Reporter: Xilai Dai
> Assignee: Ramu
> Priority: Minor
>
> Start karaf 4.2.9 OSGi container, execute:
> karaf@root()> feature:repo-add camel 2.25.2
> karaf@root()> feature:install camel-jacksonxml
> {code}
> Error executing command: Unable to resolve root: missing requirement [root]
> osgi.identity; osgi.identity=camel-jacksonxml; type=karaf.feature;
> version="[2.25.2,2.25.2]";
> filter:="(&(osgi.identity=camel-jacksonxml)(type=karaf.feature)(version>=2.25.2)(version<=2.25.2))"
> [caused by: Unable to resolve camel-jacksonxml/2.25.2: missing requirement
> [camel-jacksonxml/2.25.2] osgi.identity;
> osgi.identity=org.apache.camel.camel-jacksonxml; type=osgi.bundle;
> version="[2.25.2,2.25.2]"; resolution:=mandatory [caused by: Unable to
> resolve org.apache.camel.camel-jacksonxml/2.25.2: missing requirement
> [org.apache.camel.camel-jacksonxml/2.25.2] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.dataformat.xml)(version>=2.3.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve
> com.fasterxml.jackson.dataformat.jackson-dataformat-xml/2.9.10: missing
> requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-xml/2.9.10]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.codehaus.stax2)(version>=4.2.0)(!(version>=5.0.0)))"]]]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)