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"/>;

猜你喜欢

转载自luan.iteye.com/blog/1859592