Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pop-lee opened this issue Jan 19, 2021 · 2 comments

Comments

@pop-lee
Copy link

pop-lee commented Jan 19, 2021

@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为实例设置名称,依然启动报错

@wxwwt
Copy link

wxwwt commented Mar 15, 2023

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

@AlbumenJ
Copy link
Member

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

Please check in 3.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants