xxx.FeignClientSpecification無法注冊
問題現(xiàn)象:
xxx.FeignClientSpecification無法注冊。已定義具有該名稱的 Bean,并且已禁用覆蓋。文章來源:http://www.zghlxwxcb.cn/news/detail-562782.html
The bean 'xxx.FeignClientSpecification' could not be registered. A bean with that name has already been defined and overriding is disabled.
解決方案:文章來源地址http://www.zghlxwxcb.cn/news/detail-562782.html
spring:
main:
allow-bean-definition-overriding: true # 后來發(fā)現(xiàn)的bean會覆蓋之前相同名稱的bean
到了這里,關(guān)于項目啟動Feign調(diào)用報錯 The bean ‘xxx.FeignClientSpecification‘ could not be registered 的解決方案的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!