Yes, jetty-annotations in jetty-7 and beyond requires javax.naming to be available. Usually this is available from the jvm and exposed by osgi container. Check the doco for your osgi container version, and look at the boot delegation packages or system packages. If its a really old container then maybe you'll need to find and deploy a javax.naming bundle.
On 30 March 2018 at 10:02, Alexei Trebounskikh <[hidden email]> wrote:
I am trying to replace Jetty 6 bundle with Jetty 7 in a legacy Eclipse RCP project , but get this error:
Missing requirement: Jetty :: Servlet Annotations requires package ‘javax.naming 0.0.0’ but it could not be found.
Does it require a plugin that exports javax.naming? The project uses Java 8.