Java.lanG.runtimeexception:invalid Action class configuration that references an unknown class named [Xxxaction].
When using SSH for project development, the above error may occur inadvertently. Summary of the Forum expert development experience for the cause of this error to do a specific analysis, hoping to help the same problem of the children's shoes:
Such a question can be simply understood as not finding an action with the name XXX
1) xxxaction does not configure the corresponding action in the Struts.xml;
capitalization is critical, and it's important to check the names in struts.xml for errors .
2) If spring is used to manage the action, it is possible that the corresponding bean is not configured in the spring configuration file;
Spring Injection Check
3) If all of the above are excluded, the result results may not be configured in the action configuration in Struts.xml, at which point the result entry is checked, or if the type of result is correct, check that the return string of the action is spelled correctly;
If the action returns an uppercase "SUCCESS" or "INPUT", the Name property of result in Struts.xml must be uppercase. If lowercase, configure lowercase. Failure to match can also cause the above error to occur.
4) If the above is excluded, may be the action in the form page data, the data type is incompatible, such as taking a string into the int type variable;
Your form submission or hyperlink jump is an error in the delivery of the parameter:
1. If there is a related set and get method that receives this parameter in action
2. The type of receive parameter in action and whether the page matches
5) If all of the above are excluded, you may have written the validate () method of the form verification, you need to examine the logic carefully
"Error" Java.lang.RuntimeException:Invalid action class configuration references an unknown class named [Xxxaction]