Tomcat servlet-api.jar problem
Posted
by CitadelCSCadet
on Stack Overflow
See other posts from Stack Overflow
or by CitadelCSCadet
Published on 2010-05-17T04:28:38Z
Indexed on
2010/05/17
4:30 UTC
Read the original article
Hit count: 232
I am running a web application using Tomcat and Java Servlets, JSP's, etc.
I am aware that in order to use Servlets, it is dependent on the Servlet-api.jar file. Initially I placed this jar file in the
WEB-INF/lib/directory.
This has worked fine for me for months during the developmental phase.
When we put the application onto the server space we are using, we started seeing wierd problems showing up in the Catalina.out file telling us that there was dependency problems with the servlet-api.jar file.
I am aware that tomcat has this jar file in its container, and that I should remove it from the
WEB-INF/lib/directory. I have tried this and it does not work.
What do I have to do when I remove this jar file from the local files and allow it to depend on tomcats servlet-api.jar file.
© Stack Overflow or respective owner