Kaynağa Gözat

安全漏洞修复,解决无法启动问题

lihao16 1 yıl önce
ebeveyn
işleme
adea667063
2 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 2 0
      inspur-admin/src/main/resources/application.yml
  2. 1 1
      pom.xml

+ 2 - 0
inspur-admin/src/main/resources/application.yml

@@ -50,6 +50,8 @@ logging:
 
 # Spring配置
 spring:
+  main:
+    allow-circular-references: true
   # 资源信息
   messages:
     # 国际化资源文件路径

+ 1 - 1
pom.xml

@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-dependencies</artifactId>
-                <version>2.7.12</version>
+                <version>2.5.15</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>