• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

action servlet instantiation problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic