Fixed issue causing stacktrace when trying to use compiled jar file