File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes action servlet instantiation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action servlet instantiation problem" Watch "action servlet instantiation problem" New topic

action servlet instantiation problem

sasikiran uvsr

Joined: Mar 20, 2005
Posts: 10
im getting the following error when i start tomcat :

SEVERE: Servlet /collegelibrary threw load() exception

javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

im using struts framework to build a web-app but i get the action servlet instantiation error.

i tried to deploy other struts example apps too and i am getting the same problem.

i have tried using struts 1.1 , 1.2.4 and 1.2.7 jar files and i get the same error

kindly help me out
Seb Mathe
Ranch Hand

Joined: Sep 28, 2005
Posts: 225
Do you have placed all required jars in the WEB-INF.lib directory of your application ?

Note that placing struts-api jars in a "common" directory of your server may cause Exceptions.

Regards,<br />Seb<br /> <br />SCJP 1.4
sasikiran uvsr

Joined: Mar 20, 2005
Posts: 10
i do have struts.jar file in the WEB-INF/lib directory and i dont have it in any other 'common' directory but it doesnt seem to work !
I agree. Here's the link:
subject: action servlet instantiation problem
It's not a secret anymore!