会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜鸟i
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 上加注解 @Primary
posted on
2022-01-03 16:27
菜鸟i
阅读(
1913
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告