关于maven项目下启动tomcat报错

eclipse启动tomcat报错: 

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

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,如图:

解决办法如下:

右键项目-》Properties-》如图:

最后重新clean项目,重启tomcat即可。
原文:https://blog.csdn.net/chengtianqing123/article/details/50318027 

猜你喜欢

转载自blog.csdn.net/weixin_39559301/article/details/85692003
今日推荐