When writing action and configuring things in xm , this error is reported because the action has not been injected into the spring container (of course, this is just one of the ways )
When writing an action and configuring something in xm , this error is reported because the action is not injected into the spring container, and he cannot find the action , so the above exception will be reported.
Solution :
Just inject it in this action , add one ( @Controller )