Error configuring application listener of class org.springframework.web.….ContextLoaderListener
来源:互联网 发布:淘宝翻新机 编辑:程序博客网 时间:2024/05/17 06:56
今天在进行spring3.1配置的时候,
遇到了Error configuring application listener of class org.springframework.web.context.ContextLoaderListener的错误 ,
按照网上的方法试了好多种,
最后发现是无法找到applicationContext.xml文件造成的。
解决办法:
首先,必须保证所有必须的jar包都已导入到/WEB-INF/lib文件夹中。
首先,必须保证所有必须的jar包都已导入到/WEB-INF/lib文件夹中。
其次,在web.xml中加入
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
之前我也配置了这个参数,但是可能是<param-value>……</param-value>中内容不对,所以仍旧无法解决,按照上述进行配置后,错误就消失啦·~~~
之前我也配置了这个参数,但是可能是<param-value>……</param-value>中内容不对,所以仍旧无法解决,按照上述进行配置后,错误就消失啦·~~~
- Error configuring application listener of class org.springframework.web.….ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Spring异常:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.
- Spring 配置问题还是代码问题?Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 异常:configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener
- Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- 正则表达式简单入门知识
- java.util.Properties类
- 你可能不知道的Shell
- AWK 中运行MV命令
- 分析智能卡的ATR格式
- Error configuring application listener of class org.springframework.web.….ContextLoaderListener
- ArcGIS Runtime 本地API介绍(六)
- 设计模式--结构型--桥接模式
- 【小蒙淘金】11月23日金评-美盘休市,如何应对清淡的行情
- shell 整型变量自增(加1)的几种方法
- ArcGIS Runtime其他性能
- js 闭包和匿名函数
- 关于华为H3C 802.1X认证客户端的分析
- ANT 的安装和配置