Java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
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)
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:4919)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5517)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1263)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1948)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:439)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:303)
At Java.util.concurrent.FutureTask.run (futuretask.java:138)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:895)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:918)
At Java.lang.Thread.run (thread.java:662)
2016-6-12 8:58:33 Org.apache.catalina.core.StandardContext Listenerstart
Severity: Skipped installing application listeners due to previous error (s)
2016-6-12 8:58:33 Org.apache.catalina.core.StandardContext startinternal
Critical: One or more listeners failed to start. Full details would be found in the appropriate container log file
2016-6-12 8:58:33 Org.apache.catalina.session.StandardManager Doload
Severity: classnotfoundexception while loading persisted sessions:java.lang.ClassNotFoundException: Org.springframework.security.core.context.SecurityContextImpl
Java.lang.ClassNotFoundException:org.springframework.security.core.context.SecurityContextImpl
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1858)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1709)
At JAVA.LANG.CLASS.FORNAME0 (Native Method)
At Java.lang.Class.forName (class.java:249)
At Org.apache.catalina.util.CustomObjectInputStream.resolveClass (customobjectinputstream.java:74)
At Java.io.ObjectInputStream.readNonProxyDesc (objectinputstream.java:1572)
At Java.io.ObjectInputStream.readClassDesc (objectinputstream.java:1493)
At Java.io.ObjectInputStream.readOrdinaryObject (objectinputstream.java:1729)
At Java.io.ObjectInputStream.readObject0 (objectinputstream.java:1326)
At Java.io.ObjectInputStream.readObject (objectinputstream.java:348)
At Org.apache.catalina.session.StandardSession.readObject (standardsession.java:1619)
At Org.apache.catalina.session.StandardSession.readObjectData (standardsession.java:1084)
At Org.apache.catalina.session.StandardManager.doLoad (standardmanager.java:282)
At Org.apache.catalina.session.StandardManager.load (standardmanager.java:202)
At Org.apache.catalina.session.StandardManager.startInternal (standardmanager.java:489)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5526)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1263)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1948)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:439)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:303)
At Java.util.concurrent.FutureTask.run (futuretask.java:138)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:895)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:918)
At Java.lang.Thread.run (thread.java:662)
2016-6-12 8:58:33 Org.apache.catalina.session.StandardManager startinternal
Severity: Exception loading sessions from persistent storage
Java.lang.ClassNotFoundException:org.springframework.security.core.context.SecurityContextImpl
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1858)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1709)
At JAVA.LANG.CLASS.FORNAME0 (Native Method)
At Java.lang.Class.forName (class.java:249)
At Org.apache.catalina.util.CustomObjectInputStream.resolveClass (customobjectinputstream.java:74)
At Java.io.ObjectInputStream.readNonProxyDesc (objectinputstream.java:1572)
At Java.io.ObjectInputStream.readClassDesc (objectinputstream.java:1493)
At Java.io.ObjectInputStream.readOrdinaryObject (objectinputstream.java:1729)
At Java.io.ObjectInputStream.readObject0 (objectinputstream.java:1326)
At Java.io.ObjectInputStream.readObject (objectinputstream.java:348)
At Org.apache.catalina.session.StandardSession.readObject (standardsession.java:1619)
At Org.apache.catalina.session.StandardSession.readObjectData (standardsession.java:1084)
At Org.apache.catalina.session.StandardManager.doLoad (standardmanager.java:282)
At Org.apache.catalina.session.StandardManager.load (standardmanager.java:202)
At Org.apache.catalina.session.StandardManager.startInternal (standardmanager.java:489)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5526)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1263)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1948)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:439)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:303)
At Java.util.concurrent.FutureTask.run (futuretask.java:138)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:895)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:918)
At Java.lang.Thread.run (thread.java:662)
After importing the project with SVN, there was an error like this in MyEclipse2013 because of the lack of the appropriate package.
Solve:
On the project, right-click--properties, as follows:
Click "Add"
Click "Finish".
SPRINGMVC Project in Java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener