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);