严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis

来源:互联网 发布:网络串口服务器 编辑:程序博客网 时间:2024/06/06 00:38

maven管理的项目,运行时出现这种错误,主要有4中问题出现可能:

1:web.xml配置Spring监听错误

2:缺少Spring的jar包

3:运行之前先把tomcat项目下的其他项目关闭

4:项目没有找到添加的jar包的依赖。

前面3中可能仔细点就可以解决。第四种主要是添加jar包依赖,主要步骤如下:

右键项目———>properties-------->Deployment Assembly ------>Add

------>Java Build Path Entries ------>Next-------->选中Maven Dependencies

------->Finish.

重新Maven install  

问题解决!!!

0 0
原创粉丝点击