已启动redis,session配制为redis后报错
来源:5-10 集群Session管理
罗2022
2019-03-28
nested exception is java.lang.IllegalArgumentException: No session repository could be auto-configured, check your configuration (session store type is ‘redis’)
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 5.0.4 (00000000/0) 64 bit
.-.-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.-.|’_.-'| Port: 6379 |-. ._ / _.-' | PID: 1428-._ -._-./ .-’ .-’
|-._-. -.__.-' _.-'_.-'| |-.-._ _.-'_.-' | http://redis.io-._ -._-..-’.-’ .-’
|-._-. -.__.-' _.-'_.-'| |-.-._ _.-'_.-' |-._ -._-..-’_.-’ _.-’-._-..-’ _.-’-._ _.-'-..-’
1428:M 28 Mar 2019 09:20:06.590 # Server initialized
1428:M 28 Mar 2019 09:20:06.591 * Ready to accept connections
1回答
-
检查下Spring Session的文档,我不确定我用的版本支持不支持redis5
012019-10-17
Spring Security技术栈开发企业级认证与授权
2662 学习 · 1561 问题
相似问题