No mapping found for HTTP request with URI [/app17a/] in DispatcherServlet with name 'springmvc'解决方法
2017-06-15 20:30
696 查看
因为你的Controller没有扫描到,注意加注解@Controller的前提,然后在配置文件
去扫描该Controller所在包
<context:component-scan base-package="controller1"></context:component-scan>
去扫描该Controller所在包
相关文章推荐
- 相对路径获取项目文件 及报错 No mapping found for HTTP request with URI XXX in DispatcherServlet with name ‘springmvc’解决方法
- No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
- No mapping found for HTTP request with URI [/index.do] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI [/chart/get] in DispatcherServlet with name 'SpringMVC‘
- No mapping found for HTTP request with URI [/index.html] in DispatcherServlet with name 'springmvc'
- 警告: No mapping found for HTTP request with URI [/web002/list.do] in DispatcherServlet 的解决方法
- No mapping found for HTTP request with URI [/SpringMvc2/ItemList] in DispatcherServlet with name 'sp
- No mapping found for HTTP request with URI [...] in DispatcherServlet with name '...'
- No mapping found for HTTP request with URI [/exam3/welcome.do] in DispatcherServlet with name 'XXX'
- SpringMVC:No mapping found for HTTP request with URI [/account/*] in DispatcherServlet with
- 警告: No mapping found for HTTP request with URI [/springmv/iew] in DispatcherServlet with name 'sprin
- No mapping found for HTTP request with URI [/cwgl/department/index] in DispatcherServlet with name
- no mapping found for http request with uri in dispatcherservlet with name
- No mapping found for HTTP request with URI in DispatcherServlet with name 'XXX'
- No mapping found for HTTP request with URI [/spring/WEB-INF/page/index.jsp] in DispatcherServlet with name &#39;spring&#39;
- idea部署SpringMVC项目出现No mapping found for HTTP request with URI [xxxxxxx] in DispatcherServlet ...错误
- springmvc发生No mapping found for HTTP request with URI[...] in dispatcher servlet
- 关于警告: No mapping found for HTTP request with URI [/spMVC/] in DispatcherServlet with name 'spMVC'的问题
- No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'projectname'
- spring框架的项目报错:No mapping found for HTTP request with URI [ ] in DispatcherServlet with name 'spring'