最近做一个项目生产环境tomcat升级部署应用的时候,碰见下面的异常:
08-May-2022 18:48:33.350 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.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.
08-May-2022 18:48:33.350 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [] 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.
08-May-2022 18:48:33.351 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [] appears to have started a thread named [Aband
This is very likely to create a memory leak. Stack trace of thread
于 2022-05-09 09:22:33 首次发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)