Skip to content

Apache Jakarta Struts Common errors and mistakes

org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection

Section titled “org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection”

Add the <load-on-startup> tag to the servlet configuration.

If you have 2 actions with the same action type, which points to a class, struts will not warn you and pick one. To debug this, as part of your action, you can log the action mapping that is returned.

Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

Section titled “Cannot find bean org.apache.struts.taglib.html.BEAN in any scope”

Ensure your html:xxxx properties are enclosed within the html:form tag.