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

[Bug] A bean with that name has already been defined and overriding is disabled #14617

Closed
4 tasks done
he-jialin opened this issue Sep 2, 2024 · 2 comments
Closed
4 tasks done
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@he-jialin
Copy link
Contributor

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Java 3.2.15, JDK17, dubbo-spring-boot-observability-starter:3.2.15

Steps to reproduce this issue

Problems may arise when using two dependency packages at the same time,when tracing mode is turned on, a bug will appear.
dubbo.tracing.enabled=true
implementation("org.apache.dubbo:dubbo-spring-boot-observability-starter:3.2.15")
implementation("org.springframework.boot:spring-boot-actuator-autoconfigure:${springBootVersion}")

spring.main.allow-bean-definition-overriding=true

If the configuration supports bean override injection, no error will be reported.

What you expected to happen

I hope that the application can be started normally without additional configuration

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@he-jialin he-jialin added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Sep 2, 2024
@wcy666103
Copy link
Contributor

You can submit a pr to try and fix this.

@he-jialin
Copy link
Contributor Author

#14631

@github-project-automation github-project-automation bot moved this from Todo to Done in Dubbo Board Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Archived in project
Development

No branches or pull requests

2 participants