I am running a web application using Tomcat and Java Servlets, JSP, etc.
I know that to use Servlets, it is dependent on the Servlet-api.jar file. Initially I have placed this jar file in the
WEB-INF / lib /directory.
It has worked fine for me for months during the development phase.
When we put the application on the server space we are using, we see the major problems shown in the sitinaout file which tell us that with servlet-api.jar Dependency Problems File
I know that this container has a jar file in the Tomcat, and 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 If he removes the jar file from files and allows it to be dependent on tomcats servlet-api.jar file.
EDIT: That's right the message was removed from my Catalina. Out file that I am receiving. I added the outer path in the classroom, and it worked, but I am getting this problem.
May 17, 2010 12:33:31 PM org.apache.catalina.loader.WebappClassLoader validating file
info: validGermanfile (/home/weremo/appservers/apache-tomcat-6.0.26/ Webapps / WMA-Test / WEB-
INF / lib / servlet-api.jar) - Jar is not load View servlet spec 2.3, section 9.7.2.
Word class: javax / servlet / Servlet.class
servlet-api.jar by default If you are deploying your application, you should not put it in your web-NF / LIB folder, provided by the container environment. However, it is necessary to compile your Servlets. If you are using Eclipse as your IDE, then use this option to add external JAR files to your classpath.
Comments
Post a Comment