严重: The web application [] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDB
idea项目启动报如下错误, 网上的方法都试了都没用, 一直没解决, 干掉项目, 重新从svn检出就好了...坑 啊
Root WebApplicationContext: initialization completed in 26484 ms 九月 14, 2018 10:15:03 上午 org.apache.catalina.core.StandardContext startInternal 严重: Error filterStart 九月 14, 2018 10:15:03 上午 org.apache.catalina.core.StandardContext startInternal 严重: Context [] startup failed due to previous errors [INFO ] 2018-09-14 10:15:03,425: 27580 - method:org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:875) Closing Root WebApplicationContext: startup date [Fri Sep 14 10:14:36 GMT+08:00 2018]; root of context hierarchy [INFO ] 2018-09-14 10:15:03,428: 27583 - method:org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:356) Stopping beans in phase 2147483647 [INFO ] 2018-09-14 10:15:03,531: 27686 - method:com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:982) {dataSource-2} closed [INFO ] 2018-09-14 10:15:03,536: 27691 - method:com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:982) {dataSource-1} closed 九月 14, 2018 10:15:03 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 九月 14, 2018 10:15:03 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc 严重: The web application [] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 九月 14, 2018 10:15:03 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [] created a ThreadLocal with key of type [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1] (value [com.microsoft.sqlserver.jdbc.ActivityCorrelator$1@d6cb102]) and a value of type [com.microsoft.sqlserver.jdbc.ActivityId] (value [65180d39-8a49-4f34-81bb-8276a848669e-0]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. [2018-09-14 10:15:03,579] Artifact PPMSWEB:war exploded: Error during artifact deployment. See server log for details.
作者:习惯沉淀
如果文中有误或对本文有不同的见解,欢迎在评论区留言。
如果觉得文章对你有帮助,请点击文章右下角【推荐】一下。您的鼓励是博主的最大动力!
扫码关注一线码农的学习见闻与思考。
回复"大数据","微服务","架构师","面试总结",获取更多学习资源!