I have a web project built in eclipse using Spring and for Tomcat. Before some recent changes that I either cannot remember or undo, I could simply start the server in the ide and hit my servlets without issue. After making those changes, when I started the server, I got the stacktrace as follows.
SEVERE: 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:1484)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
...
To just work around this, I added all my jar dependencies to the server's class path explicitly, as described in the link below.
This is not the correct way to fix my issue. How can I get the server to operate as it was before?
Thanks very much!