java.lang.NoClassDefFoundError: Could not initialize class XXX
public class PropHolder { public static Properties prop; static { //code for loading properties from file } } // Referencing the class somewhere else: Properties prop = PropHolder.prop; class PropHolder is a class of my own. The class resides in the same JAR file of the main class. So that should not because any JAR … Read more