One or more listeners failed to start

How To Solve org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start

這篇介紹How To Solve org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start。

發生情境:

Tomcat啟動時在catalina.out出現以下log
03-Aug-2021 12:10:49.061 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start
. Full details will be found in the appropriate container log file
03-Aug-2021 12:10:49.062 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to prev
ious errors

解決方法:

在catalina.out同目錄下的localhost.yyyy-MM-dd.log
會有詳細出錯的Log可以查看

memo:遇過classNotFoundException