eclipsejettyosgijetty-9

After Jetty Update to 9.4.x: Missing Constraint: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)"


After updating from Jetty 9.3.x to 9.4.x I'm getting the following validate message when I launch my OSGi Framework launch:

Missing Constraint: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)"
Missing Constraint: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"

enter image description here

I can't figure out the bundles I have to add?

Already included in the launch (among many others):

The server launches without error messages after clicking "OK" in the dialog.
I hoped this issue would be fixed in Jetty 9.4.5 but it remains.


Solution

  • I had to download and add the following three bundles to the target:

    As described on the Apache Aries SPI Fly website, section Getting SPI Fly.

    Since I do not want to manipulate the bytecode I choose "For use with dynamic weaving".

    More information on the topic can be found in this blog.