check that your file is present in the classpath
URL url = ClassLoader.getSystemResource("XXXX.properties");
final File file = new File(url.getFile());
System.out.println(file.exists());
System.out.println(file.getAbsolutePath());
check that your file is present in the classpath
URL url = ClassLoader.getSystemResource("XXXX.properties");
final File file = new File(url.getFile());
System.out.println(file.exists());
System.out.println(file.getAbsolutePath());