>>>>> Steinar Bang <[email protected]>:

>> The feature installation fails with an error message:
>> karaf@root()> feature:install ukelonn-db-postgresql
>> Error executing command: Unable to resolve root: missing requirement [root] 
>> osgi.identity; osgi.identity=ukelonn-db-postgresql; type=karaf.feature; 
>> version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; 
>> filter:="(&(osgi.identity=ukelonn-db-postgresql)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=1.0.0.SNAPSHOT))"
>>  [caused by: Unable to resolve ukelonn-db-postgresql/1.0.0.SNAPSHOT: missing 
>> requirement [ukelonn-db-postgresql/1.0.0.SNAPSHOT] osgi.identity; 
>> osgi.identity=no.priv.bang.ukelonn.postgresql.db; type=osgi.bundle; 
>> version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: 
>> Unable to resolve no.priv.bang.ukelonn.postgresql.db/1.0.0.SNAPSHOT: missing 
>> requirement [no.priv.bang.ukelonn.postgresql.db/1.0.0.SNAPSHOT] osgi.ee; 
>> filter:="(&(osgi.ee=JavaSE)(version=1.8))"]]

This message
 
http://karaf.922171.n3.nabble.com/Karaf-4-0-5-cannot-resolve-some-OSGi-services-tp4046546p4046608.html
suggests setting
 serviceRequirements=disable
in org.apache.karaf.features.cfg

I tried setting
 serviceRequirements=disable
in /etc/karaf/org.apache.karaf.features.cfg

Reply via email to