idea read xml

Idea problem

System.out.println(PapiExample.class.getClassLoader().getResource("").toString());

Out: file:/D:/IDEA_Project/papi/out/production/papi/

But idea actually run read xml is up.

Directory is Follow:

OR Follows:

configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "resources/directory.xml");

 

 

 

 

你可能感兴趣的:(idea)