使用redis报错
Posted flypirate
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用redis报错相关的知识,希望对你有一定的参考价值。
昨天使用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报错的主要内容,如果未能解决你的问题,请参考以下文章