我正在使用spring-cloud-starter(即具有所有微服务功能的springboot)。当我在使用javanica@HystrixCommand注释的组件中创建hystrix方法时,请按照javanicagithub站点(https://github.com/Netflix/Hystrix/tree/master/hystrix-contrib/hystrix-javanica)上的说明使该方法异步运行,无论我是使用它们的“Future”还是Reactiveexecution“Observable',没有运行/执行,我得到java.lang.ClassCastExceptio