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
What is cookies in servlet with example?
What are the life cycle methods of a servlet?
What are the ways to handle multi-threading in servlets?
When Servlet is unloaded?
Explain the difference between get and post method in servlet?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Explain the difference between servlet and cgi?
The code in a finally clause will never fail to execute, right?
What are the disadvantages of storing session state in cookies?
What is the structure of the http response
Explain servlet life cycle?
What are the types of servlets? Explain
What are the common methods that are included in the http servlet class?
Who is responsible to create the object of servlet?
Can a jsp be called using a servlet?