Hi,
I am getting the following error while running the
sample Hello world project shared in the site:
http://blogs.sun.com/naresh/entry/jersey_test_framework_makes_it
Error log:
Exception in thread "main" java.lang.NoSuchMethodError:
com.sun.grizzly.tcp.http11.GrizzlyAdapter.setResourcesContextPath(Ljava/
lang/String;)V
at
com.sun.jersey.api.container.grizzly.GrizzlyServerFactory.create(Grizzly
ServerFactory.java:265)
at
com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory.create(G
rizzlyWebContainerFactory.java:245)
at
com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory.create(G
rizzlyWebContainerFactory.java:135)
at
com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory.create(G
rizzlyWebContainerFactory.java:102)
at com.lexisnexis.jersey.main.Main.main(Main.java:28)
I have added the grizzly-servlet-webserver-1.8.3.jar in the build path.
But the error seems to be exactly in this jar.
Regards,
Viji
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.