2017-10-31 23:47:15,538 INFO [org.springframework.web.context.ContextLoader:345] - Root WebApplicationContext: initialization completed in 9837 ms
31-Oct-2017 23:47:15.541 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Error listenerStart
31-Oct-2017 23:47:15.547 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/corp-manage] startup failed due to previous errors
log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.XmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
31-Oct-2017 23:47:15.633 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [corp-manage] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
31-Oct-2017 23:47:15.636 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [corp-manage] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)

tomcat8 启动时异常,为防止内存泄露,jdbc驱动程序未注册
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
8条回答 默认 最新
- 方璧 2017-11-01 02:23关注
建议你看下tomcat的启动日志,比如, localhost.log 和catalina.log,里面肯定有错误提示的
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报