Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
来源:互联网 发布:职场女强人知乎 编辑:程序博客网 时间:2024/06/15 16:41
项目是Spring+SpringMVC+Mybatis,Maven管理,Tomcat作为web服务器,今天tomcat出了问题,重新下载了一个解压版tomcat,加载进tomcat在编译的时候报错:
这种情况表面看就是缺少Spring的jar包了,既然是Maven项目,那就是说明maven配置有问题了,
第一步 :Window --> Preferences --> Maven --> Installations 查看是否配置了maven,以及是否使用了自己配置的maven
此处我将本地下载的Maven进行了配置,并且选中使用。
如果还是报找不到ContextLoaderListener
第二步:选中项目或者项目的web模块(我是Java工程转web工程的,web模块为webapp),右键选择 Properties --> Deployment Assembly查看是否引入了
没有引入的话,点击 Add --> Java Build Path Entries --> Maven Dependencies --> Finish --> Apply --> Add添加Maven Dependencies,然后重启服务,正常启动。
阅读全文
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
- 工作台的进化
- 微信Android视频编码爬过的那些坑
- Wi-Fi 爆重大安全漏洞,Android、iOS、Windows 等所有无线设备都不安全了
- iOS推送配置手把手指南
- 礼物 期望dp
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 一篇文章,全面总结Android面试知识点
- NOIP2014 Day2
- linux centos6.8查看用户所属组,给用户某个文件夹权限
- LINQ体验(15)——LINQ to SQL语句之用户定义函数
- 《Effective Java》—— 读后总结
- LINQ体验(16)——LINQ to SQL语句之DataContext
- 用户画像与推荐系统的关系
- 【笔记】滚动数组!