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 / harikumar

hey do one thing , u can create a war(consists of
all .class files and web.xml ie., create a war file to ur
web root directory) and deploy it in the webapps and then
run it.
If then also u can get the same error do this
1.check ur web.xml or
2.delete jar files and again add or
3.set class the classpath before compiling.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cookies in servlet with example?

519


What are the life cycle methods of a servlet?

591


What are the ways to handle multi-threading in servlets?

595


When Servlet is unloaded?

627


Explain the difference between get and post method in servlet?

603






Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

548


Explain the difference between servlet and cgi?

605


The code in a finally clause will never fail to execute, right?

599


What are the disadvantages of storing session state in cookies?

627


What is the structure of the http response

674


Explain servlet life cycle?

615


What are the types of servlets? Explain

672


What are the common methods that are included in the http servlet class?

576


Who is responsible to create the object of servlet?

718


Can a jsp be called using a servlet?

580