Note that my project structure looks like the following: After setting up the SSM framework, if the problem occurs, access the project website to report 404, that is, the WEB-INF/jsp/query.jsp file cannot be accessed, and the access path is bound to the controller. It is http://localhost:8080/user/query. The problem is solved as follows:
Important: Be careful not to fall into a fixed mindset, you think that the 404 is reported as a path problem, and there may be a series of java jar packages that have not been imported. (This is a more common problem in ideal)
Specific solution steps:
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
The result is shown in the figure: