org.springframework.web.servlet.PageNotFound noHandlerFound错误原因
2016-11-23 15:23
561 查看
今天在学习搞SpringMvc框架,一开始只是进行了简单的配置,浏览器里键入url可以请求到controller,后来准备添加页面相关的内容了,由于图片、js、css等静态文件也被拦截了,所以添加了mvc:resources取消对静态文件的拦截,这时便无法请求到controller了,后来发现,是我配置文件中缺少了<mvc:annotation-driven />,重新启动项目,问题就解决了。
相关文章推荐
- org.springframework.web.servlet.PageNotFound noHandlerFound 警告: No mapping found for HTTP request w
- 二月 14, 2018 2:00:20 下午 org.springframework.web.servlet.PageNotFoundnoHandlerFound 警告: No mapping fou
- [org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI [/ssm/us
- org.springframework.web.servlet.PageNotFound]-[WARN] No mapping found for HTTP request with URI [/re
- 解决SpringMvc中org.springframework.web.servlet.DispatcherServlet noHandlerFound的错误
- 解决SpringMvc中org.springframework.web.servlet.DispatcherServlet noHandlerFound的错误
- [org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI
- org.springframework.web.servlet.PageNotFound错误
- org.springframework.web.servlet.DispatcherServlet noHandlerFound
- org.springframework.web.servlet.DispatcherServlet noHandlerFound
- org.springframework.web.servlet.PageNotFound
- noHandlerFound:org.springframework.web.servlet.DispatcherServlet.noHandlerFound
- 静态资源[org.springframework.web.servlet.PageNotFound]
- org.springframework.web.servlet.DispatcherServlet noHandlerFound 警告: No mapping found for HTTP reque
- org.springframework.web.se rvlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request
- org.springframework.web.servlet.DispatcherServlet noHandlerFound
- org.springframework.web.servlet.DispatcherServlet noHandlerFound
- spring的困惑--org.springframework.web.servlet.DispatcherServlet noHandlerFound
- org.springframework.web.servlet.DispatcherServlet.noHandlerFound
- spring 错误 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet