Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
来源:互联网 发布:张艺兴而立24淘宝 编辑:程序博客网 时间:2024/05/17 07:52
搭建spring项目的时候报这个错:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/springmvc-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
原因是web.xml和applicationContext.xml两个文件没放在一起:
解决办法:
0 0
- Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
- springmvc/mybaits的web.xml配置:Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/dispatcherservlet-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/Dispatcher-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/dispatcherservlet-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/spring-servlet.xml]
- Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]【解决方案】
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- dorado7 Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Spring实现动态数据源切换
- Python入门教程 超详细1小时学会Python
- NSIS制作安装包步骤
- 进程同步
- Java基础--Java并发总结
- Could not open ServletContext resource [/WEB-INF/springmvc-servlet.xml]
- MIPI 小结
- Hadoop copy a directory
- hdu1114 Piggy-Bank --完全背包
- USB串口设备_笔记
- SeekBar单向选择,SeekBar使用demo
- wust1592期望
- 提取HOG特征训练SVM分类器(一)HOG篇
- Servlet的四个重要对象