使用SpringMVC时,浏览器输入地址无法跳转到controller

首先
你确定配置正确 web.xml
配置正确spring-mvc.xml
如果还是不能跳转404
你考虑tomcat版本问题导致的
我用TOMCAT 10 出现404 换成9就 OK了

猜你喜欢

转载自blog.csdn.net/prjh_/article/details/123748251