perchè no??
il metodo statico ConfigurationProperties.getProperties richiede come parametro uno String.
che corrisponde al file da leggere.
come dovrei fare per dirgli quale path dovrebbe prendere??
codice:public static synchronized HashMap<String, String> getProperties(String file) throws IOException { File fileProperties = new File(file); HashMap<String, String> map = new HashMap<>(); Properties props = new Properties(); props.load(new FileInputStream(fileProperties)); props.stringPropertyNames().stream().forEach((name) -> { map.put(name, props.getProperty(name)); }); return map; }