Yesterday's project was running today and suddenly found that it couldn't be run today.
Severity: Error Configuring Application Listener of Class Org.springframework.web.context.ContextLoaderListener
Java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1858)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1709)
At Org.apache.catalina.core.DefaultInstanceManager.loadClass (defaultinstancemanager.java:506)
Online find a lot, a lot of said missing jar package, but yesterday can run, today can't run
And then I found the right solution.
The sharing method is as follows, and many of these problems can be solved later.
It may be that your jar file is not synced to your project's lib directory (if you're building it with maven) you can try the following project right click on Properties Select Deployment Assembly then click on the Add button on the right Select Java Build Path entries and click the Next button and choose your maven Dependencies OK
Method positive solutions, perfect solution
The project release jar package in Maven is not synchronized