SSM integration page prompts 404 questions, please take a look (Spring and MyBatis are successful, but integration of SpringMVC has been 404)

  java, question

Xml configuration is as follows
clipboard.png
Xml configuration is as follows
clipboard.png
The controller reads as follows
clipboard.png

Project structure

clipboard.png

Phenomena: Both index.jsp and showUser.jsp started the tomcat jump page 404. Since the SSM framework was built, the integration of Spring and MyBatis was successful before, but this problem occurred when integrating SpringMVC, and there was no exception in the Tomcat background log of jump page 404. debug found that it did not enter the controller. I hope the great gods have a look, thank you

clipboard.png

The url-pattern intercepts all requests, and you configured/,so you have to write a static resource access without interception, so the request is intercepted, and the static resource can be accessed normally. Baidu is the only one that does not intercept static resources.