1.获取resouces中文件的绝对路径
String filePath = XXX.class.getClassLoader().getResource("/configs/interface/..").getPath(); File file = new File(filePath);
1.获取resouces中文件的绝对路径
String filePath = XXX.class.getClassLoader().getResource("/configs/interface/..").getPath(); File file = new File(filePath);