From 09947ca36bc167fe293106ebd72592f165797227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=AD=90=E6=9D=8E=C2=B7De?= Date: Sat, 24 Jul 2021 14:13:49 +0800 Subject: [PATCH] Update start.bat --- report-core/src/main/assembly/bin/start.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/report-core/src/main/assembly/bin/start.bat b/report-core/src/main/assembly/bin/start.bat index 70e56f57..b9129d43 100755 --- a/report-core/src/main/assembly/bin/start.bat +++ b/report-core/src/main/assembly/bin/start.bat @@ -27,9 +27,9 @@ IF "%JAVA_HOME%" == "" ( ) rem 查找附加的驱动,加到java启动的classpath中 - for %%i in ("%BIN_DIR%\lib\*") do ( + for %%i in ("*") do ( if "%%i" neq "%BOOT_JAR%" ( - set LIB_JARS=!LIB_JARS!%%i; + set LIB_JARS=!LIB_JARS!%BIN_DIR%\lib\%%i; ) ) @@ -39,3 +39,4 @@ IF "%JAVA_HOME%" == "" ( rem 正式启动 %JAVA_HOME%\bin\java %JAVA_OPTS% -Xbootclasspath/a:%LIB_JARS% -jar -Dspring.config.location=%CONF_YML% %BIN_DIR%\lib\%BOOT_JAR% + \ No newline at end of file