Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the Consider renaming one of the beans or enabling overriding by setting spring problem

Shulou Source: shulou.com Published: 2022-06-01 17:29:53 10月31日 Update

This article introduces you how to solve the Consider renaming one of the beans or enabling overriding by setting spring problem, the content is very detailed, interested friends can use for reference, hope to be helpful to you.

Description:The bean 'exmafilm.FeignClientSpecification', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.Action:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

When the above error occurs, you can add the following configuration to the configuration file # when a class with the same name is registered, it is allowed to overwrite the registration spring: main: allow-bean-definition-overriding: true

On how to solve the Consider renaming one of the beans or enabling overriding by setting spring problem to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Questions content more help configuration good same interest available in name guy buddy file article knowledge article reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MySQL macOS Apple Linux