Hi Alexey,
Your trick worked. There were a few more changes I had to make:
1. Import package com.sun.jersey.api.container.grizzly had to be changed to com.sun.jersey.api.container.grizzly2.
2. "import com.sun.net.httpserver.HttpServer" had to be changed to "import org.glassfish.grizzly.http.server.HttpServer"
3. server.stop(0) had to be changed to server.stop();
Regards,
Pradeep
Hi Peter,
please use artifactId: jersey-grizzly2
WBR,
Alexey.