单体错误配置修复

(cherry picked from commit d80a59efc9)
This commit is contained in:
chenbowen
2025-08-21 15:35:09 +08:00
committed by chenbowen
parent 6cf03f1c49
commit 5dfcf7aab6
2 changed files with 18 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ spring:
main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
# allow-bean-definition-overriding: false # 允许 Bean 覆盖,例如说 Feign 等会存在重复定义的服务
allow-bean-definition-overriding: true # 允许 Bean 覆盖,例如说 Feign 等会存在重复定义的服务
# Servlet 配置
servlet: