老师这个老提示c3p0错误是怎么回事啊
来源:8-7 商品编辑之后端开发上
weixin_慕设计1299737
2019-10-24
警告: The web application [o2o] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge5tta51xt8ds04co774|712789de]-HelperThread-#0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method)
写回答
1回答
-
翔仔
2019-10-25
同学好,这个并不是错误呢,警告信息如果不影响功能的话可以忽略。如果要解决掉这个警告,可以在spring-dao.xml
里面的
<bean id="dataSource"
class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
添加上 destroy-method="close"
00
相似问题