为什么项目中有这个类 还说找不到 lib中也有这个文件 tomcat中我也看了 都配置部署好了 网上也没有相关解决方式 求大神指教
这个开发用的Spring框架吧,你需要在你的web.xml里面配置下面的东西的:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
可能是配置文件的问题吧,,
将缓存都清理下,然后服务重启
集成Spring2.5、Hibernate3.3成功之后,打算集成Struts2,于是加入相关包,在web.xml中添加以下代码:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-valu......
答案就在这里:ClassNotFoundException:ContextLoaderListener
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。