[Solved] Critical: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

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

Critical: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener

Critical: 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: 1720 )
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1571 )
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java: 506 )
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java: 488 )
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java: 115 )
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 4932 )
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java: 5524 )
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java: 150 )
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1575 )
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1565 )
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

May 10, 2016 9:41:08 am org.apache.catalina.core.StandardContext listenerStart
Critical: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener
java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1720 )
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1571 )
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java: 506 )
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java: 488 )
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java: 115 )
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 4932 )
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java: 5524 )
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java: 150 )
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1575 )
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1565 )
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

 

Solution:

In fact, your jar file is not synchronized to the lib directory of your project (if you are building with Maven), you can try the following method. Right-click the project, click Properties, select Deployment Assembly, and then click the Add button on the right to select Java Build Path After Entries, click the Next button and select your Maven Dependencies to confirm.

 


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *