>>>>> Richard Hierlmeier <[email protected]>:

> I tried to deploy an OSGI bundle that uses R7 Http whiteboard annotations.
> However when I deploy this bundle on Karaf 4.3.1  I get the following error:

> missing requirement [SampleR7/1.0.0.SNAPSHOT] osgi.wiring.package;
> resolution:=required;
> filter:="(&(osgi.wiring.package=org.osgi.service.http.context)(version>=1.1.0)(!(version>=2.0.0)))"]]
-> [Help 1]

> What are the prerequisits für the new annotations?

My workaround, as suggested by JB, was to set the lower version bound of
the org.osgi.service.http.context import to 1.0, in the
maven-bundle-config:
 
https://github.com/steinarb/ukelonn/blob/master/ukelonn.web.security/pom.xml#L184

Reply via email to