Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
来源:互联网 发布:weiapibridge.js 编辑:程序博客网 时间:2024/06/11 05:56
maven项目从svn import到eclipse中,启动时报错 : 提示 spring监听程序找不到类
解决办法
1. 检查web配置,web.xml 文件的 <listener> 标签必须在 <servlet> 之前 :
<span style="white-space:pre"></span><listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener><!-- 配置spring mvc核心控制器 --><servlet><servlet-name>rest</servlet-name><servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class></servlet>
==================================配置正确,排除
2. 检查是否缺少jar包
Ctrl+Shift+t
============== 有jar 包,排除
3. tomcat缓存问题:
可能是tomcat的缓存问题,解决方法为:
把eclipse里面的servers全部删除,然后把工程clean一下,之后重新建一个server运行
=====未解决
4. 看项目中maven包的存放路径:
a.右击项目,选择属性
b.查看Deployment Assembly 选项卡
c.果然这里面少了maven包的存放路径。
d.点击add 添加一个路径
e.点击next
f.选择Maven依赖,点击完成
g.点击OK 重启项目即可
======================解决
1 0
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 错排递推式推导
- 【VS开发】组播(多播)的C程序实战
- Android NDK开发篇(一):新版NDK环境搭建(免Cygwin,超级快)
- 靠“喂喂喂”来测试实时语音质量靠谱吗?
- ios developer tiny share-20161021
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- MySQL (2)数据的完整性
- Haroopad--最好用的markdown编辑器
- 项目中的关于UIDatePicker
- scala学习-类与对象
- Jenkins 常见问题
- Android Intent安全性检查
- python 迭代器
- FastJson用法的简单案例