-
Notifications
You must be signed in to change notification settings - Fork 38.4k
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
Improve error message when using reserved bean name #31725
Comments
@axel7083 bean overriding is something we'd like to deprecate (#31288) so it should throw an exception upfront, which is what happens already by default with Spring Boot for a long time. We can't really proceed until we understand how you ended up in this situation. Please create a small sample that we can run ourselves. You can attach a zip to this issue or push the code to a separate GitHub repository. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Affects: v6
I created a
TransactionManager
forgetting that there was already a default bean with this name. From the error message it was very hard to figure out the name overlap issue.The text was updated successfully, but these errors were encountered: