File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action servlet instantiation problem" Watch "action servlet instantiation problem" New topic
Author

action servlet instantiation problem

sasikiran uvsr
Greenhorn

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
Greenhorn

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 !
 
 
subject: action servlet instantiation problem