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.

Jan

On 30 March 2018 at 10:02, Alexei Trebounskikh <
[email protected]> 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.
>
>
>
> Thanks!
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Jan Bartel <[email protected]>
www.webtide.com
*Expert assistance from the creators of Jetty and CometD*
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to