When using SpringMVC, the browser input address cannot jump to the controller

First of all,
make sure that the web.xml is configured correctly and
the spring-mvc.xml is configured correctly.
If it still cannot jump to 404,
consider the tomcat version problem.
I use TOMCAT 10 and 404 appears. Change it to 9 and it will be OK.

Guess you like

Origin blog.csdn.net/prjh_/article/details/123748251