backend/Spring
[오류] IntelliJ Spring Devtools 실행 되지 않을 때
dzaaling
2025. 3. 6. 23:42
반응형
DevTools
서버를 재시작하지 않아도 클래스를 변경할 때 서버가 자동으로 재가동되는 라이브러리.
오류 해결
1. build-gradle 파일에서 의존성 적는 부분에, devtools를 runtimeOnly로 변경
기존 implementation 변경 후 runtimeOnly
2. 설정 -> Build, Execution, Deployment -> Build Tools -> Gradle -> Build and Run 부분 IntelliJ IDEA 로 변경
3. Build, Execution, Deployment -> Compiler -> Build project auto..~ 체크
4. Advanced Settings -> Compiler -> Allow auto-make to start even if ...~ 체크
📌
| 정상적으로 실행되기를 바라며..
728x90
반응형