embedding jetty server problems

早过忘川 提交于 2019-12-04 15:12:22

Try to include

<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-jndi</artifactId>
    <version>${jetty.version}</version>
</dependency>

It's trying to load this class because in Jetty JNDI is not configured by default.

This is a good resource to learn more about Jetty

https://jersey.java.net/documentation/latest/index.html

Good luck!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!