From 4fa38828b0c46349fc6e0ca06cdd4ec03305cf79 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 3 Apr 2018 20:45:58 +0800 Subject: [PATCH] =?UTF-8?q?startup.bat=20=E5=B7=A5=E4=BD=9C=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=BB=98=E8=AE=A4=E4=B8=BA=E4=B8=8A=E7=BA=A7=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/webapp/startup.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/main/webapp/startup.bat b/web/src/main/webapp/startup.bat index 7f4ae4ab..8c654641 100644 --- a/web/src/main/webapp/startup.bat +++ b/web/src/main/webapp/startup.bat @@ -18,6 +18,8 @@ title %cd% set JAVA_OPTS= -Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -call java org.springframework.boot.loader.WarLauncher +set CURR_DIR=%cd% +cd.. +call java -cp %CURR_DIR% org.springframework.boot.loader.WarLauncher pause \ No newline at end of file