title: Tomcat servlet-api.jar problem
body: <p>I am running a web application using Tomcat and Java Servlets, JSP's, etc. </p>
  
  <p>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 <pre>WEB-INF/lib/</pre> directory.</p>
  
  <p>This has worked fine for me for months during the developmental phase. </p>
  
  <p>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 <b> servlet-api.jar</b> file. </p>
  
  <p>I am aware that tomcat has this jar file in its container, and that I should remove it from the <pre>WEB-INF/lib/</pre> directory. I have tried this and it does not work. </p>
  
  <p>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.</p>
  
  <p>EDIT: This is the exact message pulled from my Catalina.out file that I have been receiving. I added the external JAR to the class path, and It worked, but I am receiving this problem.</p>
  
  <pre>May 17, 2010 12:33:31 PM org.apache.catalina.loader.WebappClassLoader validateJarFile<br>
  INFO: validateJarFile(/home/weremo/appservers/apache-tomcat-6.0.26/webapps/WMA-Test/WEB-<br>INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. <br>Offending class: javax/servlet/Servlet.class</pre>