启动Gateway spring boot应用程序时出现以下异常
ava.lang.IllegalArgumentException:找不到名为CircuitBreaker的GatewayFilterFactory
筛选器配置为筛选器:- name: CircuitBreaker args: name: MicroService fallback: forward:/fallbackurl
有没有人知道如何解决这个问题。
发布于 2021-07-23 17:34:40
我也收到了同样的错误。我尝试添加依赖项:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
</dependency>我已经添加了netflix-hystrix,但它给出了相同的错误。
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
<version>2.2.9.RELEASE</version>
</dependency>https://stackoverflow.com/questions/67579885
复制相似问题