File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

action servlet instantiation problem

 
sasikiran uvsr
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 225
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sasikiran uvsr
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic