nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/
来源:互联网 发布:网络配线架英文缩写 编辑:程序博客网 时间:2024/04/28 04:48
14:21:50,359 INFO [localhost-startStop-1] ContextLoader:305 - Root WebApplicationContext: initialization started
14:21:50,644 INFO [localhost-startStop-1] XmlWebApplicationContext:581 - Refreshing Root WebApplicationContext: startup date [Fri Apr 07 14:21:50 CST 2017]; root of context hierarchy
14:21:50,748 INFO [localhost-startStop-1] XmlBeanDefinitionReader:317 - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
14:21:50,753 ERROR [localhost-startStop-1] ContextLoader:351 - Context initialization failed
14:21:50,644 INFO [localhost-startStop-1] XmlWebApplicationContext:581 - Refreshing Root WebApplicationContext: startup date [Fri Apr 07 14:21:50 CST 2017]; root of context hierarchy
14:21:50,748 INFO [localhost-startStop-1] XmlBeanDefinitionReader:317 - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
14:21:50,753 ERROR [localhost-startStop-1] ContextLoader:351 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
在web.xml中加上
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml</param-value>
</context-param>
0 0
- nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/
- nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/
- nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/jdbc.pro
- java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/action-servlet.xml]
- java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/action-servlet.xml]
- java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classes/applicationC
- ava.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xm
- spring + strut2 java.io.FileNotFoundException: Could not open ServletContext resource
- java.io.FileNotFoundException: Could not open ServletContext resource [/SpringContext.xml]
- spring异常:FileNotFoundException: Could not open ServletContext resource [/WEB-INF/XX-servlet.xml
- java cxf nested exception is java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf-ex
- Fault - ; nested exception is: java.io.FileNotFoundException: D:\tomcat7\webapps\axis\WEB-INF\jwsC
- Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/db.properties]
- ssm框架问题Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/mybatiscon
- 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/application
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Rxjava2+MVP+Retrofit2关系图
- linux 如何显示一个文件的某几行(中间几行)
- C++实验3
- 常用正则表达式
- hasOwnProperty(),propertyIsEnumerable( ) ,isPrototypeOf( )
- nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/
- python+pandas分析nginx日志
- 一、JVM内存
- 卡尔曼算法详解(C++程序)
- 《JavaScript高级程序设计 第三版》学习笔记 (七) 内存泄漏详解
- QSettings之 beginGroup()、childKeys() 、value()
- cairo安装
- Python Scrapy抓取动态网页
- C++ 类的静态成员详细讲解