漏写@controller而出现404问题

来源:互联网 发布:企业网络规划案例 编辑:程序博客网 时间:2024/06/05 00:59

No mapping found for HTTP request with URI [/ruralDoctor/product/index.do] in DispatcherServlet with name 'dispatcherServlet'

解决方法在controller类中加上@controller

原创粉丝点击