No bean named 'quickstartConsumer' available
来源:2-5 SpringBoot直连提供者演示

chrishhdbx
2018-12-26
consumer启动找不到bean,增加 @ComponentScan 扫描也不行
写回答
1回答
-
Allen
2018-12-27
1、确认一下ComponentScan有没有扫描到这个Consumer
2、这个Consumer的Component注解和Service有没有加
012018-12-27
相似问题