java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
来源:互联网 发布:大乐透出号绝密算法 编辑:程序博客网 时间:2024/06/18 18:16
使用Intellij IDEA 的过程中,新创建的项目启动时报
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
原因之一jar包未被部署:
ctrl+shift+alt+s打开项目设置窗口,选择Artifacts,选择打包部署项目,选择Output Layout--》Web-INF,查看下面是否有lib目录,右边的jar包是否添加到lib目录下。
详情如下图:
另外,如果使用spring + tomecat 这种架构的话,可能需要考虑对应的各部分的版本:
有文章推荐使用如下搭配,
使用JavaSE1.7+spring3.2.0+facetJava1.7+tomcat7。
使用JavaSE1.8+spring4.1.6+facetJava1.8+tomcat8。
我相信在这些架构搭配上应该会有一个最有的组合,这样形成一个最佳实践,想必会提升效率。
详细请见:
http://blog.csdn.net/wo541075754/article/details/45640267?reload#reply
http://blog.csdn.net/kanshimekan/article/details/52667679
阅读全文
0 0
- 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
- Linear Ensembles of Word Embedding Models
- 1310:最近平方数
- Tensorflow-Logistic regression
- 莫小安 CentOS7使用firewalld打开关闭防火墙与端口
- Calico 的网络结构是什么?- 每天5分钟玩转 Docker 容器技术(68)
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- HANA删除重复记录的方法
- 1503:互质个数
- 题目44-子串和
- 计蒜客-求出现次数最多的字符
- NMF 非负矩阵分解 -- 原理与应用
- 1071:不容易系列
- Tomcat服务器的模拟实现学习解析Http协议、反射、xml解析等
- Lintcode最长上升连续子序列