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

Explain the features are in servlet 3?

803


List the Different types of servlet?

783


What is the difference between the include() and forward() methods?

793


What is cookie in servlet?

776


Why do we have servlet wrapper classes?

786


Why doesn’t a servlet include main()?

779


What do you mean by annotations in servlet?

786


What is the difference between servlet and jsp?

807


Difference between java beans & servlets?

773


What is meant by Servlet? What are the parameters of service method?

803


What is ServletContext object?

839


What is Servlet API used for connecting database?

814


Explain servlet.

777


What is the process for chaining servlet?

786


What is httpservlet and how it is different from genericservlet?

811