dubbo-spring-boot-project icon indicating copy to clipboard operation
dubbo-spring-boot-project copied to clipboard

- environment: a programmatically registered singleton,是否支持在一个实例中,同一个接口服务有多个分组的consumer

Open pop-lee opened this issue 4 years ago • 2 comments

@DubboReference(version = "1.0.0", check = false, group = "testA") 使用这个标签来注入了一个consumer实例,其他类中也有相同的consumer,但分组不同,启动会报错如下

  • environment: a programmatically registered singleton

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

但是使用了@qualifier为实例设置名称,依然启动报错

pop-lee avatar Jan 19 '21 14:01 pop-lee

老铁 你这个问题解决了没有

wxwwt avatar Mar 15 '23 06:03 wxwwt

老铁 你这个问题解决了没有

Please check in 3.1.8

AlbumenJ avatar Mar 17 '23 05:03 AlbumenJ