A default binder has been requested, but there is no binder available(依赖引入有误)
场景:springcloud集成配置中心引入bus。解决的方式:逐个对依赖注释查看报错。
·
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
应该为
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
场景:springcloud集成配置中心引入bus
解决的方式:逐个对依赖、注释、报错 查看
更多推荐




所有评论(0)