Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find ActionMappings or ActionFormBeans collection

 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm getting a strange problem with Tomcat 5.

I've developed a basic struts application using Websphere Studion 5.1. It uses struts 1.1. It's running perfectly in WebSphere Test Server.

But when I try to run the same project in Tomcat I'm getting an error like
->javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection

Any idea

Thanks in advance
 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again,

someone got any solution?

Thanks again.
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebSphere Test Server may be configured for struts at the server level. Tomcat by default is not, you must either put all of the struts jar files in the $CATALINA_HOME/comm/lib directory for any struts based web application or place them in the WEB-INF\lib directory of each specific web application.

The latter is helpful, if your anticipating on moving the web application from one server/container to another.
 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Craig,

I've put all the JAR files inside WEB-INF/lib folder, but it's not working.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic