Business code would only write four years of development, the distributed high concurrency also can't be a programmer? ->>
You when the great spirit of integration of the two modules have been an error org. Springframework. Beans. Factory. BeanDefinitionStoreException: Failed to process the import candidates for the configuration class [com. Zhaohuijun. Gateway. Run. GatewayApplication]; Nested exception is Java. Lang. An IllegalStateException: Failed to introspect annotated the methods on a class org.springframework.cloud.net flix. Hystrix. Dashboard. HystrixDashboardConfiguration
CodePudding user response:
I also met, yet I don't know what the reason, as long as used at the same time the two error,
Can remove the spring cloud gateway, made forward HystrixCommond annotations way,
Introducing the dashboard can run successfully,
CodePudding user response:
Gateway is asynchronous, it is only introduced webflux, cannot depend on, the introduction of the web but integrated hystrix - dashboard need to inject a ServletRegistrationBean, and introducing the dependence on the web, so that conflicts with the gateway,,,