码迷,mamicode.com
首页 > 数据库 > 详细

解决failed to unregister JDBC driver导致可能内存泄露的问题

时间:2018-12-27 10:22:47      阅读:293      评论:0      收藏:0      [点我收藏+]

标签:1.3   jdb   简化   top   .com   cto   fail   []   web   

将mysql的驱动包mysql-connector-java-5.1.39从webContent->web-inf->lib移到tomcat的lib目录下,既可以简化新建web项目时的导包麻烦,也能解决项目关闭时内存泄露的问题 The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped。查阅的这个网站https://stackoverflow.com/questions/24850091/the-web-application-registered-the-jdbc-driver-com-mysql-jdbc-driver-but-fa。

目前为之还不知道为什么。

解决failed to unregister JDBC driver导致可能内存泄露的问题

标签:1.3   jdb   简化   top   .com   cto   fail   []   web   

原文地址:https://www.cnblogs.com/lixin4395/p/10182910.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!