You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/03/28 09:07:16 UTC

[GitHub] [dubbo] chickenlj commented on issue #9814: Dubbo is upgraded from 2.7.3 to 3.0.6. What is the reason for the repeated bean creation error?

chickenlj commented on issue #9814:
URL: https://github.com/apache/dubbo/issues/9814#issuecomment-1080386968


   >The reason why dubbo 2.7.x is no this error, it seems that dubbo 2.7.x set the spring.main.allow-bean-definition-overriding=true automatically, but this setting is removed in dubbo 3.x.
   I think dubbo should not change spring settings by default.
   
   As explained by @kylixs, setting of `spring.main.allow-bean-definition-overriding=true` is not a good practice, so we have removed that starting from 3.0. Please try to modify the usage samples above accordingly. Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org