小编Hou*_*sem的帖子

考虑在配置中定义类型为'org.springframework.data.redis.connection.RedisConnectionFactory'的bean

我尝试使用spring session并从git https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/spring-session下载此项目

我收到此错误应用程序未能启动


描述:

org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration中方法sessionRedisTemplate的参数0需要一个无法找到的类型为'org.springframework.data.redis.connection.RedisConnectionFactory'的bean.

行动:

考虑在配置中定义类型为'org.springframework.data.redis.connection.RedisConnectionFactory'的bean.

spring-security spring-data-redis spring-session

1
推荐指数
1
解决办法
3163
查看次数