struts2与spring整合的问题,困扰很久了
我在web.xml中用监听方式载入spring的上下文
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
结果每次启动tomcat,它都会抛出java.lang.classnotfoundexception的异常
提示error configuring application listener of class org.springframework.web.context.ContextLoaderListener
说是我这个类不能找到,可我在项目中已经添加了这个包spring-web.jar,为什么还是说找不到
难道是这个类不能被编译么,我用的是jdk6.0
这里高手多,望给小弟指点一二