spring-cloud / spring-cloud-netflix

Integration with Netflix OSS components
http://cloud.spring.io/spring-cloud-netflix/
Apache License 2.0
4.87k stars 2.44k forks source link

method ReactiveHystrixCircuitBreaker.createCommand throw a runtime Exception: java.lang.NoClassDefFoundError: rx/RxReactiveStreams #4063

Closed feiquan666 closed 2 years ago

feiquan666 commented 2 years ago

SpringCloud Version is : Hoxton.SR12 SpringBoot Version is:2.3.12.RELEASE

My Gateway Moudle dependencies is:

org.springframework.cloud spring-cloud-starter-gateway org.springframework.cloud spring-cloud-starter-netflix-eureka-client org.springframework.boot spring-boot-starter-actuator

rx.RxReactiveStreams not found at runtime

image

I noticed version is 1.3.8 for rxjava,it has not definition class #rx.RxReactiveStreams

feiquan666 commented 2 years ago

The project address is: MyMicroservice

you can clone it and start it。

try url:http://localhost:5002/api/test/web/hello/3
headers :
{ "Req-Sign": "check sign" }

OlgaMaciaszek commented 2 years ago

Hello @feiquan666, the Hoxton release train is no longer supported. Please upgrade to 2021.x. If the problem persists, please open a GH issue in the Spring Cloud CircuitBreaker repo.