txlcn-demo icon indicating copy to clipboard operation
txlcn-demo copied to clipboard

集成到项目client启动报错

Open tuotuopz01 opened this issue 6 years ago • 0 comments

Field existingConcurrencyStrategy in org.springframework.cloud.netflix.hystrix.security.HystrixSecurityAutoConfiguration required a single bean, but 2 were found: - tracingHystrixConcurrencyStrategy: defined in URL [jar:file:/C:/Users/Administrator/.m2/repository/com/codingapi/txlcn/txlcn-tracing/5.0.2.RELEASE/txlcn-tracing-5.0.2.RELEASE.jar!/com/codingapi/txlcn/tracing/http/TracingHystrixConcurrencyStrategy.class] - sleuthHystrixConcurrencyStrategy: defined by method 'sleuthHystrixConcurrencyStrategy' in class path resource [org/springframework/cloud/sleuth/instrument/hystrix/SleuthHystrixAutoConfiguration.class]

Action:

Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed

tuotuopz01 avatar Aug 21 '19 07:08 tuotuopz01