Tomcat startup error org. springframework. web. context. ContextLoaderListener class configuration error -- SHH framework, contextlistener
In the SHH framework project, when Tomcat is started, the org. springframework. web. context. ContextLoaderListener class configuration error is returned.
1. Check whether the configuration is configured in the configuration file web. xml. Org. springframework. web. context. ContextLoaderListener has been configured in the web. xml configuration file.
2. Check whether the project has added this jar package. The jar package for org. springframework. web. context. ContextLoaderListener is a spring-web-4.1.0.RELEASE.jar and has been added.
3, because it is Tomcat startup error, so check the Tomcat path lib contains spring-web-4.1.0.RELEASE.jar, check that this package does not exist. Started successfully after being added.