Intellij Spring boot Hot Swap / Hot Deploy 설정하기
intellij 2022. 2. 16. 23:36

목적 Intellij 2021버전 이후 Intellij에서 Spring boot java class 파일이 수정되었을 때 Hot Swap or Hot Deploy를 진행하게 한다. Maven or Gradle 설정 Hot Swap 설정을 위해서는 Maven 또는 Gradle에 spring-boot-devtools를 추가해 준다. maven인경우 org.springframework.boot spring-boot-devtools gradle인경우 implementation 'org.springframework.boot:spring-boot-devtools:2.6.3' Intellij 설정 file > settings > Advanced Settings > Allow auto-make to start.... ..