From 77b38b31d92c383c5e6d971dd52fa2fc8be1cc94 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 17 Apr 2025 09:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B1=9E=E6=80=A7=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8A=A0=E8=BD=BD=E9=A1=BA=E5=BA=8F=EF=BC=8Cclasspath?= =?UTF-8?q?:application.yml=20=E4=BC=98=E5=85=88=E4=BA=8E=20classpath:conf?= =?UTF-8?q?ig/application.yml=EF=BC=88=E5=8D=87=E7=BA=A7=E6=B3=A8=E6=84=8F?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/jeesite/common/io/PropertiesUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/jeesite/common/io/PropertiesUtils.java b/common/src/main/java/com/jeesite/common/io/PropertiesUtils.java index 50eea529..922fee7c 100644 --- a/common/src/main/java/com/jeesite/common/io/PropertiesUtils.java +++ b/common/src/main/java/com/jeesite/common/io/PropertiesUtils.java @@ -36,8 +36,8 @@ public class PropertiesUtils { // 默认加载的文件,可通过继承覆盖(若有相同Key,优先加载后面的) public static final String[] DEFAULT_CONFIG_FILE = new String[]{ - "classpath:application.yml", "classpath:config/application.yml", - "file:application.yml", "file:config/application.yml", + "classpath:config/application.yml", "classpath:application.yml", + "file:config/application.yml", "file:application.yml", }; private static final Logger logger = PropertiesUtils.initLogger();