解决方法1:

主要就是要去redis的配置文件中修改密码,修改完密码后记得重启redis。跟着作者的步骤走,可以完美解决!

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

解决方法2:

在配置文件中把password去除一样可以解决!

1.把redis配置文件中的password注释了

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53) 随笔 第1张

2.把spring-redis中的passwrod配置也注释了

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53) 随笔 第2张

 

参考:https://blog.csdn.net/iw1210/article/details/72428824

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄