spring:
redis:
host: xxxxxx.redis.cache.chinacloudapi.cn
port: 6380
password: xxxxxxxxxxxxxxxxxxxxxxxxxxx
timeout: 5000ms
ssl: true
配置文件的配置,注意需不需要ssl=true。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration: Invocation of init