A component required a bean named 'redisTemplate' that could not be found.
摘要:
springBoot 配置多个redis数据源 报错 A component required a bean named 'redisTemplate' that could not be found. 原因是 spring找不到默认的redis数据源 需要在 其中一个 bean 上加注解 @Pri 阅读全文
posted @ 2022-01-03 16:27 菜鸟i 阅读(1913) 评论(0) 推荐(0)
浙公网安备 33010602011771号