一种导致To prevent a memory leak。。的情况

记录一种情况导致 A web application registered the JBDC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.的问题出现。

连接数据库的URL错误(实例名错误)时也会导致该问题发生;

如正确的URL:jdbc:oracle:thin:@localhost :1521:orcl

写成:jdbc:oracle:thin:@localhost :1521:orcl1时会报该问题。

你可能感兴趣的:(tomcat)