代码都没有问题的前提出现上述问题,主要是注解问题导致的
类的注解是@RestController,如果用注解@Controller,就不能访问web层
/hello.do与hello.do一样可以访问
配置文件里面的路径要跟访问的路径一致,否则依旧无法访问