昨天使用jedis的api时报错,修改配置文件,将127.0.0.1注释掉,并修改某个参数(忘了哪个,忘了记录)后重启redis就可以了,今天使用Stringjediscomplate又报错,如下
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
参考文章https://blog.csdn.net/freebird_lb/article/details/7460328
试了下可以了
使用redis报错
原文:https://www.cnblogs.com/flypirate/p/10127206.html