415832 - jetty-start / fix ClassNotFound exception when starting from empty base directory

+ Displaying simple warning and not starting if appropriate.
This commit is contained in:
Joakim Erdfelt 2013-08-26 14:50:59 -07:00
parent b6dbdd98d4
commit 69892d36a6
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}