설정 오류 수정

main
이범준 10 months ago
parent 9808d4c22e
commit e38d6fa2ea

@ -50,7 +50,7 @@ public class FimsApplication extends XitBaseApplication {
String toFileName = CmmnUtil.appendFileName(fileName,"-"+suffix); String toFileName = CmmnUtil.appendFileName(fileName,"-"+suffix);
File file = new ClassPathResource(fileName).getFile(); File file = new ClassPathResource(fileName).getFile();
File toFile = new ClassPathResource(toFileName).getFile(); File toFile = new ClassPathResource(toFileName).getFile();
Files.copy(file.toPath(), toFile.toPath(), StandardCopyOption.REPLACE_EXISTING); Files.copy(toFile.toPath(), file.toPath(), StandardCopyOption. REPLACE_EXISTING);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }

Loading…
Cancel
Save