mardi 3 mars 2015

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoadListener

I have been struggling with this problem for a few days now (That is why I am providing GitHub link). Here is the stack trace:



SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoadListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoadListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:142)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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)


I will point only, that I use Tomcat 7 and I run the server from Servers tab in Eclipse.


I have read everything in the Internet about it. The most common solution provided was:



"Go to project properties -> Deployment Assembley, click Add... , select Java Build Path Entries and add the Maven Dependencies to the Web Deployment Assembly."



And it does not work for me, same as other solutions in the Internet I have seen so far. I am hopeless.


I am providing GitHub link to my project: http://ift.tt/1ACmLZe I already tried to export it to another computer, I still get the same error while running it on the other machine.


Aucun commentaire:

Enregistrer un commentaire