Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Exception

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

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

Rgds,

Seetesh
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!