MyEclipse: ClassNotFound - com.sun.jersey.spi.container.servlet.Servlet
peclements - Oct 15, 2011 - 03:43 PM
Post subject: ClassNotFound - com.sun.jersey.spi.container.servlet.Servlet
I have just installed MyEclipse 9 (Build Id - 9.1-20110701) running on Mac OS X (10.7.1)
and have started to do your Restful Web Services Demo and as I start to run the MyEclipse Server Application I get the error
SEVERE: Error loading WebappClassLoader
----------> Parent Classloader:
Any pointers would be appreciated, log and project are attached.
support-swapna - Oct 17, 2011 - 06:12 AM
Sorry that you are seeing this issue with MyEclipse.
Can you answer some more questions for us to understand the issue better ?
1) Are you running the application on MyEclipse Tomcat ? Are you running Groovy on the server ?
2) Can you recheck if you have included the “jersey-server.jar“ in the classpath and under web-inf/lib ?
3) Also take a look at this thread which discusses the same issue :
4) Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log , replicate the issue and copy paste the entire contents of the .log file here for us to investigate it further.
peclements - Oct 17, 2011 - 05:41 PM
Sorted by recreating the project and selecting the jersey-server.jar (not shown on the myeclipseide tutorial I followed) and it all works :)
support-swapna - Oct 18, 2011 - 05:53 AM
Glad that it is working.
Do let us know if you have any other issues.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits