From 69892d36a6933f2e53b4c72aa3dedf7f345e5092 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 26 Aug 2013 14:50:59 -0700 Subject: [PATCH] 415832 - jetty-start / fix ClassNotFound exception when starting from empty base directory + Displaying simple warning and not starting if appropriate. --- jetty-start/src/main/java/org/eclipse/jetty/start/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java b/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java index 89a8750a787..c87849818cb 100644 --- a/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java +++ b/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java @@ -283,7 +283,8 @@ public class Main } catch (ClassNotFoundException e) { - StartLog.warn(e); + System.out.println("WARNING: Nothing to start, exiting ..."); + StartLog.debug(e); usageExit(ERR_INVOKE_MAIN); return; }