spring mvc No mapping found for HTTP request with URI [/web/test.do] in DispatcherServlet with name 'spring'

原因:

spring-servlet.xml 中

 <context:component-scan base-package="com.test.controller" /> 

@controlller 不在此路径下

原文地址:https://www.cnblogs.com/newlangwen/p/5145940.html