开发者

Jersey: GrizzlyWebContainerFactory is missing in Jersey 1.9.1

I'm getting started learning Jersey by following the tutorial

From Main class of the tutorial

       System.out.println("Starting grizzly...");
       SelectorThread threadSelector = GrizzlyWebContainerFactory.create(B开发者_如何学CASE_URI, initParams);

My problem is the GrizzlyWebContainerFactory is not exist for me. From the example, the class is at com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory but I cannot find it in any jars. What am I missing here? Or they refactored it to another class?

Note: My class path includes: grizzly-servlet-webserver.jar, jersey-server.jar, jersey-core.jar, jsr311-api.jar, asm.jar


Per search.maven.org, you're looking for com.sun.jersey:jersey-grizzly:1.9.1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜