Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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.

Answers were Sorted based on User's Feedback



Hi............ When i am started the tomcat server it started. but it not load the jar files w..

Answer / ravikiran.chd

while you are building remove the servlet-api.jar and after
building put the jar file inside and start the server

Is This Answer Correct ?    2 Yes 0 No

Hi............ When i am started the tomcat server it started. but it not load the jar files w..

Answer / siva thimmannagari

if ur using the JNLP concept,make an entry in the file
under the JNLP file

Is This Answer Correct ?    1 Yes 0 No

Hi............ When i am started the tomcat server it started. but it not load the jar files w..

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

Hi............ When i am started the tomcat server it started. but it not load the jar files w..

Answer / mahesh

hi first u got to copy the tools.jar file from java\bin &
paste in the tomcat\common\lib folder & restart the server
again.

Is This Answer Correct ?    1 Yes 1 No

Hi............ When i am started the tomcat server it started. but it not load the jar files w..

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



More Servlets Interview Questions

What do you mean by singlethreadmodel interface?

0 Answers  


What are the differences between the servletconfig interface and the servletcontext interface?

0 Answers  


What does the term localization refer to?

0 Answers  


When Servlet is unloaded?

0 Answers  


What is the use of servletconfig interface?

0 Answers  






What are the objects involved when a servlet receives a call from client?

0 Answers  


What are the types of Session Tracking ?

0 Answers  


Write a program to show the functionality of doget and dopost method?

0 Answers  


when you comppile the servlet is it neccesary to restaet the tomcat server?

6 Answers   HCL,


Which event is fired at the time of setting, getting or removing attribute from application scope?

0 Answers  


Why the container loads server at the application startup and how?

0 Answers  


Differentiate between the get and post method

0 Answers  






Categories