1. Maven / Gradle 로 devtools 추가
Maven
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
Gradle
dependencies {
compileOnly("org.springframework.boot:spring-boot-devtools")
}
2. Intellij 에서 Build project automeatically 체크

3-1. 2021.2 이전 버전
intellij 에서 compiler.automake.allow.when.app.running 체크 (2021.2 이전)


3-2. 2021.2 이후 버전
intellij 에서 Allow auto-make to start even if developed application is currently running 체크 (2021.2 이후)

출처 : https://mkyong.com/spring-boot/intellij-idea-spring-boot-template-reload-is-not-working/
'일이야기 > Environment' 카테고리의 다른 글
톰캣 구동시 SetPropertiesRule관련 경고 나올 때 (0) | 2015.03.10 |
---|---|
Tomcat APR java.library.path 못찾는 현상 (3) | 2015.03.10 |
Eclipse 에서 tomcat lib 가져오기 (0) | 2015.03.10 |
이클립스에서 sun.misc.BASE64Encoder, Decoder 를 임포트 할 수 없는 경우 (0) | 2015.03.05 |
댓글