赞
踩
使用Redis 时候报错了,提示信息为:
- threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool] with root cause
- redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
怎么破?
问题已经很明确的了:
jedisDataException: ERR Client sent AUTH, but no password is set
意思就是redis服务器没有设置密码,但客户端向其发送了AUTH请求
所以我在配置文件里面去掉了密码结果还是不行。
- #redis组配置信息
- redis.name=redis
- redis.ip=192.168.0.1
- redis.poolConf.maxActive=50
- redis.poolConf.maxIdle=10
- redis.poolConf.maxWait=5000
- redis.poolConf.minIdle=1
- redis.password=
之后把整个配置(redis.password=)都去掉了。重启项目然后就成功了。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。