各位大神 集成这两个模块的时候一直报错org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.zhaohuijun.gateway.run.GatewayApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardConfiguration
<p>我也碰到了,至今不知道什么原因。只要同时使用这两个就报错。</p>
可以去掉spring cloud gateway,用HystrixCommond注解方式做转发。
引入dashboard可以运行成功。
集结各类场景实战经验,助你开发运维畅行无忧