This problem occurs when Tomcat is started when struts2 + hibernate + spring is set up.
Severe: Error Handling ing 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: 1358)
At org. Apache. Catalina. loader. webappclassloader. loadclass (webappclassloader. Java: 1204)
At org. Apache. Catalina. Core. standardcontext. listenerstart (standardcontext. Java: 3770)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4336)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 761)
At org. Apache. Catalina. Core. containerbase. addchild (containerbase. Java: 741)
At org. Apache. Catalina. Core. standardhost. addchild (standardhost. Java: 525)
At org. Apache. Catalina. startup. hostconfig. deploydirectory (hostconfig. Java: 920)
At org. Apache. Catalina. startup. hostconfig. deploydirectories (hostconfig. Java: 883)
At org. Apache. Catalina. startup. hostconfig. deployapps (hostconfig. Java: 492)
At org. Apache. Catalina. startup. hostconfig. Start (hostconfig. Java: 1138)
At org. Apache. Catalina. startup. hostconfig. lifecycleevent (hostconfig. Java: 311)
At org. Apache. Catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. Java: 120)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1023)
At org. Apache. Catalina. Core. standardhost. Start (standardhost. Java: 719)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1015)
At org. Apache. Catalina. Core. standardengine. Start (standardengine. Java: 443)
At org. Apache. Catalina. Core. standardservice. Start (standardservice. Java: 448)
At org. Apache. Catalina. Core. standardserver. Start (standardserver. Java: 710)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 552)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 597)
At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 288)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 413)
16:45:28 org. Apache. Catalina. Core. standardcontext listenerstart
Severe: skipped installing application listeners due to previous error (s)
I checked through the Internet and found that many people encountered such problems, but they did not solve my problems. Finally, I found that this class was not found in the imported package, I checked carefully and found that a package was missing, I used spring3.2 version, less spring-web-3.2.0.jar this package, import this package, the problem is resolved immediately !, Hope to solve other people's problems!