原文:【web.xml】报错java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

今天搭建新的项目,虽然在web.xml中配置了ContextLoaderListener以及IntrospectorCleanupListener 如下: web.xml中部分代码: View Code 但是,在项目启动的时候,依旧报错: View Code 解决方法: 项目上,右键 properties,选择进入Deployment Assembly, 然后将Maven库的架包 也选择部署,这样 ...

2017-05-15 20:59 0 1252 推荐指数:

查看详情

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

一直没有用过spring。今天想跑一个demo,结果出错了。 我是用eclipse中的tomcat泡的。看了一下library中也导入了spring web的库。 查了一下好多解决方法都是说把jar包拷到lib下,去我的tomcat下发现并没有那个工程。继续查发现eclipse并不是真的启动 ...

Tue Apr 09 02:08:00 CST 2013 0 9374
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM