When writing action and configuring things in xm, this error is reported

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 )


 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326272163&siteId=291194637