참조 : https://wedul.site/431, Spring Boot에서 src/main/resource 파일 접근 방법 및 주의사항. Spring Boot를 이용해서 빠르게 프로젝트를 제작해야 할일이 있어서 작업을 하던 도중에 src/main/resource 위치에 파일에 접근이 필요했다. 그래서 ClassLoader를 사용해서 resource를 획득한 후 해당 경로를 wedul.site https://ecsimsw.tistory.com/entry/Spring-%EC%A0%95%EC%A0%81-%EB%A6%AC%EC%86%8C%EC%8A%A4-%EC%82%AC%EC%9A%A9-%ED%8C%8C%EC%9D%BC-%EC%97%85%EB%A1%9C%EB%93%9C Spring Boot / 정적 리소스 사..

1. 인텔리제이 설정 창에서 Build project automatically 체크 2. Ctrl + Alt + Shift + / 키를 눌러 registry 선택 ( Mac 일경우 option + command + shift ) 3. compiler.automake.allow.when.app.running 옵션 체크 위 방법까지 했는데 안될경우 1. build.gradle 파일 dependencies에 해당 코드 추가 dependencies { compile('org.springframework.boot:spring-boot-devtools') } 2. gradle 빌드 진행 3. application.yml 파일에 해당 코드를 추가 spring: devtools: livereload: enabled: ..