Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I got this error when start server in WSAD:

 
Jian Yi
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
' X Servlet Error-[action]: Failed to load servlet: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml'
With this error, I can't run anything. How do I fix it?
Thanks,
Jenny
 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check to see if javax.servlet.UnavailableException is in the classpath.
 
Paul Ramsay
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did this resolve the problem ?
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you app cannot be loaded because the ActionServlet failed to initialize due to the unavailability of the struts-config.xml. check if that file exists and is in the correct location (WEB-INF) and that your web.xml has the correct reference for the servlet (action) config init-param to the struts-config.xml (the 'config' param should be 'WEB-INF/struts-config.xml').
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic