web项目异常A web application registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister
异常:A web application registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the webapplication was stopped. To prevent a memory leak, the JDBC Driver has been forcibl
·
异常:
A web application registered the JBDC 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.
意思是:
一个web应用程序注册的JBDC驱动程序[com.mysql.jdbc.Driver],但Web应用程序时停止时未能注销。为了防止内存泄漏,JDBC驱动程序已被强行注册。
意思是:
一个web应用程序注册的JBDC驱动程序[com.mysql.jdbc.Driver],但Web应用程序时停止时未能注销。为了防止内存泄漏,JDBC驱动程序已被强行注册。
在服务器保持运行的状态中,redeploy(重新部署)这个项目, 就出现该异常!
解决办法:
将整个项目stop之后再redeploy,就不会报该异常!
更多推荐
已为社区贡献2条内容
所有评论(0)