org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException

使用Intelij Idea时,报错如下:

org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class     org.springframework.web.context.ContextLoaderListener
 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

错误原因:

库没有全部添加到Artifacts中。

解决方法:

File-->Project Structrue-->Artifacts-->点击右下角的"Fix"进行修复即可

如果未能解决问题,可以参考StackOverFlow:

http://stackoverflow.com/questions/24520842/intellij-13-tomcat-error-configuring-application-listener-of-class-org-springfra

原文地址:https://www.cnblogs.com/expiator/p/6776951.html