今天在服务器启动服务.redis报错
Exception in thread "main" redis.clients.jedis.exceptions.JedisExhaustedPoolException: Could not get a resource since the pool is exhausted
解决方案:
https://blog.csdn.net/zhengqianjin/article/details/107642471
第二个报错信息:
Caused by: java.util.NoSuchElementException: Unable to validate object
解决方案:
https://www.cnblogs.com/anny-1980/p/4582674.html
如果有遇到No reachable node in cluster 这个错误的
解决方案:
简单一句话: 最终是调用JedisCluster.close()方法造成的。去掉.close()就好.