File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Exception 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 » Frameworks » Struts
Bookmark "Exception" Watch "Exception" New topic
Author

Exception

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Dear all,

What is the root cause of this exception "javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection"

Rgds,

Seetesh
Satish SN
Ranch Hand

Joined: Apr 19, 2005
Posts: 70
Hi Seetesh,

I feel check the class declarations of the ActionMappings and FormBeans while writing the classes they need to be "Public" bcoz i faced the similar problem and was able to solve by the above method.

other wise do check the web.xml in the struts servlet declaration does it have config param with the appropriate path where the struts-config.xml file is located.

I think above two observations should resolve ur problem.



Satish SN<br />SCJP 1.4 & SCWCD 1.4
Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
The new exception now is
javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

Am I missing something?

rgds,

Seetesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception