记一次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 ·
631 阅读 ·
1 评论