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 are the benefits of using servlet over cgi?
Why doesn’t a servlet include main()?
What is servlet name in web xml?
What are the steps involved in placing a servlet within a package?
What is a generic servlet?
What are the jobs performed by servlets?
What are all the protocols supported by httpservlet?
Explain the difference between a web server and a web container?
Is it possible to have a constructor inside the servlet?
How can you start a jta transaction from a servlet deployed on jboss?
What is the difference between portlet and servlet?
What is getservletcontext?
What are the uses of servlet and what is servlet chaining?
What is servletconfig?
What is ServletContext object?