使用了最新的Spring Cloud版本,在启动EurekaService的时候,系统在启动后报错 "Unsatisfied dependency expressed through field 'eurekaServerBootstrap",经过翻阅大量的博客信息,发现了一点:
发现新版本的Spring Cloud对熔断器Hystrix有要求,Eureka中必须添加对Hystrix的依赖才可以

<dependency>
   <groupId>org.springframework.cloud</groupId>
   <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>

 这才正常显示

EurekaServer启动出错问题解决方案

相关文章: