• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebappClassLoader Error when deploying on Tomcat  RSS feed

 
Steven Marco
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put servlet-api.jar in your WEB-INF/lib directory?
If so, why?
 
Steven Marco
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't put it, I used the default installation of Tomcat.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!