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

解决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

点赞