因为配置了:<mvc:resources location=" " mapping="" /> ,@Controller失效访问404
这里还需要配置:<mvc:annotation-driven/>
因为配置了:<mvc:resources location=" " mapping="" /> ,@Controller失效访问404
这里还需要配置:<mvc:annotation-driven/>
转载于:https://www.cnblogs.com/snzigod/p/8206792.html