registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it

要么用旧版本的tomcat,要么就在tomcat的server.xml文件中,注释以下监听

<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>;

 

 

你可能感兴趣的:(driver)