Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 7's Servlet Annotations bundle requires javax.naming 0.0.0 package?

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 <alexei.trebounskikh@xxxxxxxxxxx> wrote:

Hi all,


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.



jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Jan Bartel <janb@xxxxxxxxxxx>
Expert assistance from the creators of Jetty and CometD

Back to the top