Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events at redis.clients.jedis.Protocol.processError(Protocol.java:113) at redis.clients.jedis.Protocol.process(Protocol.java:131) at redis.clients.jedis.Protocol.read(Protocol.java:200) at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:285) at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:184) at redis.clients.jedis.Jedis.configSet(Jedis.java:2797) at org.springframework.data.redis.connection.jedis.JedisConnection.setConfig(JedisConnection.java:616) ... 30 more
解决方案:
更换redis版本为2.8以上
@EnableRedisHttpSession requires Redis 2.8.0+