Spring Cloud Hystrix Circuit Breaker Pattern Example. I have added below dependency in the code taking https://howtodoinjava.com/spring/spring-cloud/spring-hystrix-circuit-breaker-tutorial/ Spring Boot Starter parent version is 1.5.13.BUILD-SNAPSHOT<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId></dependency><dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId></dependency>When I launch http://localhost:9098/hystrix, nothing is coming.Could you please guide how to fixed it ?Here is the code:@SpringBootApplication@EnableHystrixDashboard@EnableCircuitBreakerpublic class SpringHystrixSchoolServiceApplication { public static void main(String[] args) { SpringApplication.run(SpringHystrixSchoolServiceApplication.class, args); }} 解决方案 Since you are using spring boot 1.3,you need to use http://localhost:9098/hystrix.htmlFrom Spring boot 2.x hystrix URL move to http://localhost:9098/hystrix 这篇关于Spring Cloud - hystrix-dashboard 不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-15 10:34