Tomcat fails to start because of jdbc driver loading

前端 未结 4 994
醉梦人生
醉梦人生 2020-12-08 22:36

Here\'s the relevant portion of the tomcat startup log:

SEVERE: Context [/f360] startup failed due to previous errors
Apr 8, 2010 6:45:56 PM org.apache.catal         


        
4条回答
  •  忘掉有多难
    2020-12-08 23:11

    Sometimes, especially when using Spring application on Tomcat, the error message is misleading - when there is no relation to any JDBC driver error at all but only a failure of some application BEAN init-method (or @PostConstruct). The error stack trace is hidden and appears only in tomcat/logs/localhost.xxx file. Just be aware of this behavior. It costed me a lot of time.

    Regards, Yosi Lev

提交回复
热议问题