NoClassDefFoundError (Digester) with Tomcat and MyFaces

前端 未结 2 2053
走了就别回头了
走了就别回头了 2021-01-07 11:48

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

2条回答
  •  感情败类
    2021-01-07 12:10

    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.

    1. Go to the Servers tab -> Right click on your webapp -> Clean Module directory.
    2. Go to the Servers tab -> Right click on used Tomcat instance -> Clean...

    After that the error disappeared and the webapp ran again like before.

提交回复
热议问题