今儿在启动项目的时候报这个错误,一脸懵逼 我在配置文件中配置了spring.main.allow-bean-definition-overriding=true啊 为啥还会出现这个错误呢,后来经过测试,可能是复制文件导致的,把工程下的iml文件删除掉,然后重新生成就好了
The bean 'statisticsService.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