Hi............
When i am started the tomcat server it started.
but it not load the jar files wht we deploving
file.suppose we load the wapp folder in webapps.
At running time it show the below error in tomcat server
INFO: validateJarFile(C:\Program Files\Apache Software
Foundation\Tomcat 5.0\web
apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See
Servlet Spec 2.3, s
ection 9.7.2. Offending class: javax/servlet/Servlet.class
How to slove this problem in my system.
plz give answer for this problem.
Answer Posted / m gangadhar
hi,
do one thing, i think the servlet-api.jar which ur using is
corrupted so take latest form net. and deploy ur application.
Set class path then keep ur webapp folder structure contains
App
|-----WEB-INF
|------classes
------web.xml compile the classes first by
setting jar (servlet-api.jar) which should be C:\Program
Files\Tomcat 5.0\server\lib\servlet-api.jar
copy jar file from tomcat directory structure C:\Program
Files\Tomcat 5.0\server\lib and keep in ur
webapps\wapp\WEB-INF\lib it will solve ur problem sure.
if any Issues please feel free to contact my mail id.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the phases of servlet life cycle?
What methodology can be followed to store more number of objects in a remote server?
What’s the difference between sendredirect and forward methods
What is servlet mapping?
When servlet object is created?
What is servlet and its advantages?
Why do we have servlet wrapper classes?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
How do I support both get and post from the same servlet?
What are the different methods involved in generic servlet?
What are important features of Servlet 3?
How to generate the server side programming and the advantages of it over the other languages?
What is the capacity the doget can send to the server?
Explain the steps involved in placing a servlet within a package?
Why don't we write a constructor in a servlet?