DispatcherServlet.noHandlerFound No mapping found for HTTP request找不到映射文件遇到的问题
2020-02-05 02:34
441 查看
//出现找不到spring配置文件
严重 [http-nio-80-exec-1] org.springframework.web.servlet.FrameworkServlet.initServletBean Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-mvc.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-mvc.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
输入路径之后找不到路径
警告 [http-nio-80-exec-13] org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request with URI [/account/operate] in DispatcherServlet with name 'DispatcherServlet'
做过一些尝试 :在web.xml配置中修改对spring配置的加载
谁能想到上面的一堆错误全来自于
<!-- JSTL标签库--> <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> </dependency>
我把这些注释掉,重启tomcat 再添加上,重启tomcat就又可以了???卧槽卧槽卧槽!!!
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- 相对路径获取项目文件 及报错 No mapping found for HTTP request with URI XXX in DispatcherServlet with name ‘springmvc’解决方法
- org.springframework.web.se rvlet.DispatcherServlet.noHandlerFound No mapping found for HTTP request
- 关于警告: No mapping found for HTTP request with URI [/spMVC/] in DispatcherServlet with name 'spMVC'的问题
- MVC无法访问静态资源,提示No mapping found for HTTP request with URI [******] in DispatcherServlet[******]
- No mapping found for HTTP request with URI [/zjic] in DispatcherServlet
- 关于No mapping found for HTTP request with URI和in DispatcherServlet with name 'qht_client'
- No mapping found for HTTP request with URI [/bdp/] in DispatcherServlet with name
- No mapping found for HTTP request with URI [/index.do] in DispatcherServlet with name 'SpringMVC‘
- 本人小白一枚,刚学习SpringMVC+MyBatis,遇到了一个问题一直报错 **No mapping found for HTTP request with URI**
- springmvc发生No mapping found for HTTP request with URI[...] in dispatcher servlet
- no mapping found for http request with uri in dispatcherservlet with name
- 关于No mapping found for HTTP request with URI [访问路径] in DispatcherServlet with dispatche
- No mapping found for HTTP request with URI [/item/536563] in DispatcherServlet with name 'taotao-man
- org.springframework.web.servlet.PageNotFound noHandlerFound 警告: No mapping found for HTTP request w
- Spring : No mapping found for HTTP request with URI in DispatcherServlet with name "..."
- No mapping found for HTTP request with URI [/SpringMVC/hello] in DispatcherServlet with name 'chapte
- No mapping found for HTTP request with URI [/Test/findbyid] in DispatcherServlet
- No mapping found for HTTP request with URI [/service/model/xxx/json] in DispatcherServlet
- No mapping found for HTTP request with URI [/helloMvc/welcome/hello] in DispatcherServlet
- No mapping found for HTTP request with URI 找不到图片或者其他的静态资源问题解决办法