diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index c6d77ea8..7d307885 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -115,7 +115,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true # 日志配置(fatal、error、warn、info、debug) logging: diff --git a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml index 2da88bb4..ef4118dd 100644 --- a/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml +++ b/modules/core/src/main/resources/templates/modules/gen/module_cloud/web/src/main/resources/config/bootstrap.xml @@ -88,7 +88,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true allow-bean-definition-overriding: true # 日志配置 diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 0de0820f..3f0852f1 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -267,7 +267,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true # MVC 映射匹配策略 mvc: diff --git a/web-fast/src/main/resources/config/application.yml b/web-fast/src/main/resources/config/application.yml index 533f1e9b..fcafc5f5 100644 --- a/web-fast/src/main/resources/config/application.yml +++ b/web-fast/src/main/resources/config/application.yml @@ -93,7 +93,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true # MVC 映射匹配策略 mvc: diff --git a/web-mini/src/main/resources/config/application.yml b/web-mini/src/main/resources/config/application.yml index cc7a4770..1096bc71 100644 --- a/web-mini/src/main/resources/config/application.yml +++ b/web-mini/src/main/resources/config/application.yml @@ -88,7 +88,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true # MVC 映射匹配策略 mvc: diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 8a0a3b70..349f6ab8 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -267,7 +267,8 @@ spring: # 打印横幅 main: - bannerMode: "off" + banner-mode: "off" + lazy-initialization: true # MVC 映射匹配策略 mvc: