fix 修复 dubbo 自动配置优先级高于 nacos 导致配置不生效 循环依赖报错

This commit is contained in:
疯狂的狮子li
2022-01-17 15:06:10 +08:00
parent d728617890
commit 384a52e3e9
9 changed files with 96 additions and 73 deletions

View File

@@ -3,7 +3,10 @@ server:
port: 9900
# Spring
spring:
spring:
main:
# 此配置禁止放入 nacos 优先级不够
allow-circular-references: true
application:
# 应用名称
name: ruoyi-xxl-job-admin
@@ -46,4 +49,4 @@ spring:
- data-id: application.${spring.cloud.nacos.config.file-extension}
refresh: true
- data-id: datasource.${spring.cloud.nacos.config.file-extension}
refresh: true
refresh: true