From ab98a09f851b372526a727fc0561d14a33361877 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Fri, 3 May 2019 11:09:33 +0300 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=D0=95=D1=89=D1=91=20=D0=B7=D0=B0?= =?UTF-8?q?=D1=89=D0=B8=D1=82=D0=B0=20=D0=BE=D1=82=20=D0=B1=D0=B0=D0=BD?= =?UTF-8?q?=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE=20ClassNotFound...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launchserver/LaunchServer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 3bcaa154..a4d64d67 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -335,6 +335,10 @@ public static void main(String... args) throws Throwable { LogHelper.addOutput(IOHelper.WORKING_DIR.resolve("LaunchServer.log")); LogHelper.printVersion("LaunchServer"); LogHelper.printLicense("LaunchServer"); + if (!StarterAgent.isAgentStarted()) { + LogHelper.error("StarterAgent is not started!"); + LogHelper.error("Your should add to JVM options this option: `-javaagent:LaunchServer.jar`"); + } // Start LaunchServer long startTime = System.currentTimeMillis();