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

RxReactiveStreams dependency missing in core #3318

Closed gbrehmer closed 5 years ago

gbrehmer commented 5 years ago

If I only need spring-cloud-neflix-core (to use HystrixCommands Helper), RxReactiveStreams will be required during runtime (and is missing in the dependency list from core).

spencergibb commented 5 years ago

Why can't you use the hystrix starter?

gbrehmer commented 5 years ago

of course I could, but nevertheless I thought each independent library (available on maven central) should all required dependencies documented/configured. My current "workaround" is to explicitly add the rx-reactive-streams lib

spencergibb commented 5 years ago

I'm spring boot and spring cloud many features are optional and dependent on the class path.

feiquan666 commented 2 years ago

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

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

rx.RxReactiveStreams not found at runtime

image

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