永发信息网

连接SQL出错

答案:2  悬赏:0  手机版
解决时间 2021-07-29 07:00
  • 提问者网友:最爱你的唇
  • 2021-07-28 14:11

2009-12-11 11:24:58,609--ERROR --An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool
2009-12-11 11:24:58,609--ERROR --An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool
2009-12-11 11:24:59,250--ERROR --BaseServiceimpl.findByCriteria(DetachedCriteria dc) org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool; nested exception is java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool

以上是出错代码

最佳答案
  • 五星知识达人网友:往事隔山水
  • 2021-07-28 15:38

异常写的很清楚


Attempted to use a closed or broken resource pool


企图连接一个已经断开的连接。


Cannot open connection;


没有打开连接。


还是看你的dao 是怎么弄的

全部回答
  • 1楼网友:一秋
  • 2021-07-28 16:51
连接没有打开或者已经关闭了
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯