This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes WebappClassLoader Error when deploying on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "WebappClassLoader Error when deploying on Tomcat" Watch "WebappClassLoader Error when deploying on Tomcat" New topic
Author

WebappClassLoader Error when deploying on Tomcat

Steven Marco
Greenhorn

Joined: Jul 23, 2002
Posts: 21
Does anyone know why this is happening? The error message is as follows:


WebappClassLoader:
validateJarFile(/opt/jakarta/tomcat/webapps/dspace-oai/WEB-INF/lib/servl
et.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Did you put servlet-api.jar in your WEB-INF/lib directory?
If so, why?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Steven Marco
Greenhorn

Joined: Jul 23, 2002
Posts: 21
I didn't put it, I used the default installation of Tomcat.
 
jQuery in Action, 2nd edition
 
subject: WebappClassLoader Error when deploying on Tomcat
 
Similar Threads
Unable to locate a valid EngineConfigurationFactory
Connection String
Tomcat not starting
validateJarFile - Reg
404 Error