aspose file tools*
The moose likes Tomcat and the fly likes Cannot find ActionMappings or ActionFormBeans collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cannot find ActionMappings or ActionFormBeans collection" Watch "Cannot find ActionMappings or ActionFormBeans collection" New topic
Author

Cannot find ActionMappings or ActionFormBeans collection

sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

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

Joined: Dec 08, 2004
Posts: 111

Hi again,

someone got any solution?

Thanks again.
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
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

Joined: Dec 08, 2004
Posts: 111

Hi Craig,

I've put all the JAR files inside WEB-INF/lib folder, but it's not working.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find ActionMappings or ActionFormBeans collection