IDEA上德鲁伊连接池报错!!!

java.base@9.0.1/java.lang.Object.wait(Native Method)
java.base@9.0.1/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@9.0.1/java.util.TimerThread.run(Timer.java:506)
26-Mar-2019 15:43:07.233 WARNING [RMI TCP Connection(7)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@9.0.1/java.lang.Object.wait(Native Method)
java.base@9.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.base@9.0.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:172)
com.mysql.jdbc.NonRegisteringDriver$1.run(NonRegisteringDriver.java:93)
26-Mar-2019 15:43:07.234 WARNING [RMI TCP Connection(7)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Druid-ConnectionPool-Create-40020991] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@9.0.1/jdk.internal.misc.Unsafe.park(Native Method)
java.base@9.0.1/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@9.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2062)
com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1824)
26-Mar-2019 15:43:07.235 WARNING [RMI TCP Connection(7)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Druid-ConnectionPool-Destroy-40020991] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@9.0.1/java.lang.Thread.sleep(Native Method)
com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:1898)

IDEA上用JDBCtemplet多次运行时,出现这个错误,但是好像项目还能跑

查看全部
tm1078758061
两袖空空
2019/03/28 17:22
  • intellij-idea
  • 点赞
  • 收藏
  • 回答
    私信

0个回复