redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events

启动redis的时候,发现报了下面的错误,什么鬼吗?

Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events

原因:因为redis服务器版本和jar包版本不一致造成的

我查了一了一下

我的maven用了 1.3.8版本的

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第1张图片

我的服务器是 

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第2张图片

查看了一下maven仓库的 spring-boot-starter-redis1.3.8的只支持2.7.3 的redis

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第3张图片

我现在下载了 redis -3.0的,直接搞定

链接地址:

链接:https://pan.baidu.com/s/1wxFqngtIo2fVGv54we1vxA

密码:2rr0

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第4张图片

启动

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第5张图片

注意 redis.windows.conf配置密码,不然启动成功,但是呢启动程序的时候,会报错,说是没有设置密码

redis sb问题: ERR Unsupported CONFIG parameter: notify-keyspace-events_第6张图片

 

你可能感兴趣的:(NoSql~Redis)