开发者

Jersey: GrizzlyWebContainerFactory is missing in Jersey 1.9.1

开发者 https://www.devze.com 2023-04-11 13:26 出处:网络
I\'m getting started learning Jersey by following the tutorial From Main class of the tutorial System.out.println(\"Starting grizzly...\");

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

精彩评论

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

关注公众号