Sfoglia il codice sorgente

升级spring boot版本

wkeyuan 3 anni fa
parent
commit
62784cdd28

+ 2 - 2
pom.xml

@@ -5,12 +5,12 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.4.4</version>
+        <version>2.6.3</version>
         <relativePath/> <!-- lookup parent from repository -->
     </parent>
     <groupId>net.diaowen</groupId>
     <artifactId>dwsurvey-oss-vue</artifactId>
-    <version>v.5.2.6-Beta</version>
+    <version>v.5.3.0-Beta</version>
     <packaging>jar</packaging>
     <name>dwsurvey</name>
     <description>DWSurvey project for Spring Boot</description>

+ 5 - 0
src/main/resources/application-dev.yml

@@ -108,6 +108,11 @@ spring:
         cache:
           use_second_level_cache: false
           use_query_cache: false
+  main:
+    allow-circular-references: true
+  mvc:
+    pathmatch:
+      matching-strategy: ant_path_matcher
 # 日志配置
 logging:
   # 日志级别,具体大家可以根据实际情况来调整

+ 5 - 0
src/main/resources/application-prod.yml

@@ -86,6 +86,11 @@ spring:
         cache:
           use_second_level_cache: false
           use_query_cache: false
+  main:
+    allow-circular-references: true
+  mvc:
+    pathmatch:
+      matching-strategy: ant_path_matcher
 logging:
   level:
     net:

+ 5 - 0
src/main/resources/application-test.yml

@@ -86,6 +86,11 @@ spring:
         cache:
           use_second_level_cache: false
           use_query_cache: false
+  main:
+    allow-circular-references: true
+  mvc:
+    pathmatch:
+      matching-strategy: ant_path_matcher
 logging:
   level:
     net: