java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
来源:互联网 发布:最难就业的专业 知乎 编辑:程序博客网 时间:2024/06/06 03:31
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
1.背景:
maven项目迁移 、使用eclipse的maven update功能、更换(或者删除后添加)eclipse下面的tomcat服务器时,
2.启动时一般会出现以下问题:
①找不到监听器:
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,一般网上的方法都是说jar没有找到,或者web.xml配置错误
② 不能找到action对应的类:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.oa.action.BooksAction] for bean with name'booksAction' defined in ServletContext resource,一般网上的方法都是struts2文件配置错误
3.解决方法:
项目 —> 属性 -> Deployment Assembly -> Add -> Java Build Path Entries -> 选择Maven Dependencies -> Finish -> OK 把对应的Maven依赖包也发布到tomcat
0 1
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 问题原因。
- 关于java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener错误解决方案
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- Java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 总结
- 快来使用HTTPS吧
- Qt学习心得-FFTW3在Qt5.7下的安装
- JS 考试倒计时
- Flex调试安卓应用设备脱机
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 人脸识别 - A Discriminative Feature Learning Approach for Deep Face Recognition
- |洛谷|堆|P1631 序列合并
- 函数指针与指针函数
- 日志监控及Redis存储
- Android定制--------开机对话框的实现
- Git图形界面的使用
- RAD Studio D10发布IOS TestFlight不支持外部测试的解决方法
- |洛谷|堆|P3045 [USACO12FEB]牛券Cow Coupons