- 博客(1)
- 收藏
- 关注
原创 记一次MyBatis使用Redis二级缓存造成(Could not get a resource from the pool)的坑
最近在项目中测试使用redis作为mybatis的二级缓存。 由于我的redis是部署在阿里云服务器上的,造成了redis一直无法获取到连接。(JedisConnectionException: Could not get a resource from the pool) 最终通过去掉redis.properties中的redis.前缀解决了该问题。
2021-07-25 00:57:15
630
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人