war
br = new BufferedReader(new FileReader(ResourceUtils.getFile("classpath:jasyptKey.txt")));
jar
br = new BufferedReader(new InputStreamReader(new ClassPathResource("jasyptKey.txt").getInputStream()));
'IT 기술 > 코드샘플' 카테고리의 다른 글
AWS 시간 맞추기 (0) | 2021.12.14 |
---|---|
AWS 용량 증설 (0) | 2021.12.07 |
AWS was 죽는거 대비 swap설정 (0) | 2021.11.09 |
깃랩 재시작 시 오류가 날때 (0) | 2021.09.16 |
mysql group by 옵션 (0) | 2021.09.06 |