Hello,

So I am trying to set up a http example on karaf using JaxRS.
While following the instructions I am running into certain issues that I am
not sure how to proceed with.


   1. I am using Karaf version *4.1.3*
   2. I do a *maven clean install* using the code in
   https://github.com/apache/karaf/tree/master/examples/karaf-rest-example
   3. I do a f*eature:repo-add
   mvn:org.apache.karaf.examples/karaf-rest-example-features/LATEST/xml*

*I get this error ,*

Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=http; type=karaf.feature;
version="[7.3.13,7.3.13]";
filter:="(&(osgi.identity=http)(type=karaf.feature)(version>=7.3.13)(version<=7.3.13))"
[caused by: Unable to resolve http/7.3.13: missing requirement
[http/7.3.13] osgi.identity; osgi.identity=pax-web-http; type=karaf.feature
[caused by: Unable to resolve pax-web-http/7.3.13: missing requirement
[pax-web-http/7.3.13] osgi.identity;
osgi.identity=org.apache.karaf.http.core; type=osgi.bundle;
version="[4.3.1.SNAPSHOT,4.3.1.SNAPSHOT]"; resolution:=mandatory [caused
by: Unable to resolve org.apache.karaf.http.core/4.3.1.SNAPSHOT: missing
requirement [org.apache.karaf.http.core/4.3.1.SNAPSHOT]
osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.service.cm
)(version>=1.6.0)(!(version>=2.0.0)))"]]]

I am a newbie to Karaf and am having difficulty in understanding this
error. Do I need to install something else ?

Reply via email to