I was using Tomcat with Eclipse nicely. Now I cannot start the server. I get the following exception when trying to start. Things were working great. I\'m not aware of havin
Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.Digester
This just tells you that the mentioned class is missing in the runtime classpath. As the package name hints, it's Apache Commons Digester which is available at http://commons.apache.org/digester. If you download the JAR file and drop it in one of the paths covered by the webapp's runtime classpath, such as /WEB-INF/lib
, then this problem should disappear.
I had the same problem. Webapp and Tomcat in Eclipse ran nice, then eclipse freezed; I had to kill it with TaskManager. However when I restarted tomcat, above error java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester appeared.
It did not make sense because the webapp ran nicely before. I solved it by cleaning the eclipse tomcat webapp directory.
After that the error disappeared and the webapp ran again like before.