zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

redis集群报Jedis does not support password protected Redis Cluster configurations异常解决办法

Redis集群异常 not 解决办法 does cluster password
2023-09-27 14:29:11 时间

解决spring-data-redis操作redis集群报“Jedis does not support password protected Redis Cluster configurations”的异常

原因:使用spring-data-redis操作redis集群时由于redis集群设置了密码。

解决方案:升级spring-data-redis版本即可解决,最后相关jar包版本是:
jedis-2.9.0.jar
spring-data-redis-1.8.0.M1.jar
spring-session-1.2.2.RELEASE.jar
spring-data-commons-1.12.5.RELEASE.jar
commons-pool2-2.4.2.jar