redis报错 处理

1、链接redis集群报错

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisClusterException: CLUSTERDOWN Hash slot not served

redis 集群没有启动

检查redis节点配置 重新创建集群

./redis-cli  --cluster  create   127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 --cluster-replicas 1 

原文地址:https://www.cnblogs.com/isxt/p/9986791.html