jersey

2 views
Skip to first unread message

Haim Michael

unread,
May 21, 2012, 10:28:01 PM5/21/12
to hit-java-ee...@googlegroups.com, shenkar-java-...@googlegroups.com
please use the attached jars. 

please place them within the lib folder of your tomcat installation. the com.sun.jersey.spi.container.servlet.ServletContainer class depends on HttpServlet and unless u place the jar files (ServletContainer is one of the classes they include) at the same level with the jar file (servlet-api.jar) that includes the HttpServlet class then the  com.sun.jersey.spi.container.servlet.ServletContainer class cannot be loaded to the memory and a class not found exception is thrown. 

at this stage please don't deploy the restful web services part on the virtual server!

vadim, please try to deploy it on your own before letting others to follow. most likely, the solution for deploying the jersey based web application will be based on placing the servlet-api.jar file together with the jersey jar files within the WEB-INF/lib folder of the web application.

--
www.LifeMichael.com
lib.rar

lifemichael

unread,
Jun 3, 2012, 7:16:59 AM6/3/12
to shenkar-java-ee-spring-2012
http://www.abelski.com/courses/javaeeservices/rest.pdf - link to the
slides about jersey

On May 22, 5:28 am, Haim Michael <haim.mich...@gmail.com> wrote:
> please use the attached jars.
>
> *please place them within the lib folder of your tomcat installation*.
> the com.sun.jersey.spi.container.servlet.ServletContainer class depends on
> HttpServlet and unless u place the jar files (ServletContainer is one of
> the classes they include) at the same level with the jar file
> (servlet-api.jar) that includes the HttpServlet class then the
> com.sun.jersey.spi.container.servlet.ServletContainer class cannot be
> loaded to the memory and a class not found exception is thrown.
>
> *at this stage please don't deploy the restful web services part on the
> virtual server!*
> *
> *
> vadim, please try to deploy it on your own before letting others to follow.
> most likely, the solution for deploying the jersey based web application
> will be based on placing the servlet-api.jar file together with the jersey
> jar files within the WEB-INF/lib folder of the web application.
>
> --www.LifeMichael.com
>
>  lib.rar
> 1561KViewDownload
Reply all
Reply to author
Forward
0 new messages