728x90
반응형
Spring Boot Devtools : 애플리케이션 개발 시 유용한 기능들을 제공하는 모듈이다.
classpath에 있는 파일이 변경될때마다 애플리케이션을 자동으로 재시작 해준다
빌드관리도구 : maven
- pom.xml
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
2.application-properties
spring.devtools.restart.enabled=true
- advanced settings 에서 Allow auto-make to start even if developed application is currently running 항목 체크하기
4. Build project automatically
여기까지 하면 바뀌는걸 볼수있다.
출처 : 스프링부트 쇼핑몰 프로젝트 with JPA - 버전이 달라서 내용이 살짝다르지만 흐름을 배웠다.
728x90
반응형
'자라는 개발자 > 시행착오들' 카테고리의 다른 글
QUERYDSL 초기설정시 오류 , java.lang.RuntimeException: java.lang.NoClassDefFoundError (0) | 2023.05.08 |
---|---|
React, Next.js, typescript, springboot, JPA, MYSQL 로 한달간 프로젝트 진행 한 뒤 쓰는 회고 (1) | 2023.02.25 |
mysql update 할 때 값 여러개 동시에 하기 & join 조건 걸기 & concat & not like (0) | 2021.08.03 |
오라클 sql 대용량일경우에 경로를 이용해서 insert하기 (0) | 2021.07.08 |
오라클 테이블 스페이스 ora-01653 error (0) | 2021.07.08 |