ClassNotFoundException: javax.servlet.AsyncContext in Jetty hello world

后端 未结 2 1445
陌清茗
陌清茗 2020-12-10 15:32

I am trying to follow the http://wiki.eclipse.org/Jetty/Tutorial/Jetty_HelloWorld tutorial (with Eclipse). The project compiles fine. However, when I hit the localhost ser

2条回答
  •  臣服心动
    2020-12-10 16:04

    I guess you installed Java EE 5 which has no AsyncContext. Update to Java EE 6 which has that: Java EE 6 Doc

提交回复
热议问题