引入venus-cloud-starter-feign正常使用没问题,然后引入消息总线后
org.springframework.cloud
spring-cloud-starter-bus-amqp
启动服务,出现如下提示 ,提示
Description:
Parameter 1 of method feignSpringMvcContract in cn.springcloud.feign.VenusFeignAutoConfig required a single bean, but 2 were found:
- mvcConversionService: defined by method 'mvcConversionService' in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]
- integrationConversionService: defined in null
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