Hi Lukas, sounds like a bug. Please file it at the Pax CDI project it should also play nicely with Pax Web 4.
regards, Achim 2014-11-23 11:57 GMT+01:00 Templarthelast <[email protected]>: > Hi, > > I started using Karaf by downloading Karaf 4.0.0.M1 from the Karaf site and > wanted to install the pax-web-feature but I got the error: > > Error executing command: Unable to resolve root: missing requirement > [root] > osgi.identity; osgi.identity=pax-cdi-web; type=karaf.feature; > version="[0.8.0,0.8.0]"; > > filter:="(&(osgi.identity=pax-cdi-web)(type=karaf.feature)(version>=0.8.0)(version<=0.8.0))" > [caused by: Unable to resolve pax-cdi-web/0.8.0: missing requirement > [pax-cdi-web/0.8.0] osgi.identity; osgi.identity=org.ops4j.pax.cdi.web; > type=osgi.bundle; version="[0.8.0,0.8.0]"; resolution:=mandatory [caused > by: > Unable to resolve org.ops4j.pax.cdi.web/0.8.0: missing requirement > [org.ops4j.pax.cdi.web/0.8.0] osgi.wiring.package; > > filter:="(&(osgi.wiring.package=org.ops4j.pax.web.service)(version>=3.0.0)(!(version>=4.0.0)))“]] > > It seems like the 0.8 Version of Pax-CDI-Web needs Pax-Web-Api with a > Version >=3.0.0 and not >=4.0.0 but the Version installed by the > Pax-War-Tomcat or Pax-Http is 4.0 . > > Is this a bug or do I need an additional Step to get this working? > > best regards, > > Lukas > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Wrong-Dependencies-for-Pax-CDI-Web-in-Karaf-4-0-0-M1-tp4036607.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
