Update start.bat

木子李·De 3 years ago
parent 39c3fe0002
commit 09947ca36b

@ -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%
Loading…
Cancel
Save