Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » HttpServlet class not found if using module dependency
HttpServlet class not found if using module dependency [message #222602] Wed, 08 October 2008 08:23 Go to previous message
Dominik Raymann is currently offline Dominik Raymann
Messages: 37
Registered: July 2009
Member
Hi,

I have a webproject with a "J2EE Module Dependency" to a project that
contains the actual servlet (this servlet is quite generic and can be
used in different webprojects). If I try to run the webproject on the
server (Tomcat 6.0), I get an error saying that the class
javax.servlet.http.HttpServlet cannot be found
(java.lang.NoClassDefFoundError: HttpServlet). The error appears whether
"Serve modules without publishing" is checked or not.

Is this a classloader problem? Is there a way to circumvent it?

Cheers,

Dominik
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:How to turn off JavaScript validation in the JSP editor?
Next Topic:Differences between the Linux/i386 and Win32/i386
Goto Forum:
  


Current Time: Sun May 19 22:32:00 EDT 2013

Powered by FUDForum. Page generated in 0.01536 seconds