UL :)
UL의 개발 블로그
UL :)
전체 방문자
오늘
어제
  • 분류 전체보기 (220)
    • 일상 (1)
    • 회고록 (7)
    • ChatGPT 아카이빙 (0)
    • PS(Java) (114)
      • 백준 (37)
      • 인프런 강의 문제 (77)
    • Web (69)
      • Spring (18)
      • JPA (7)
      • JSP (9)
      • HTML5 (12)
      • CSS (19)
      • HTTP (0)
      • 보안 (2)
    • Language (5)
      • Java (3)
      • JS (1)
      • Python (1)
    • Git, GitHub (4)
    • Settings (18)
      • IntelliJ (7)
      • Eclipse (2)
      • VSCode (3)
      • Android Studio (1)
      • VMware (2)
      • Mac (0)
    • Etc (1)

블로그 메뉴

  • 홈
  • 태그

공지사항

인기 글

태그

  • @JoinColumn
  • 엔티티 매핑
  • 1차 캐시
  • HandlerMethodArgumentResolver
  • 백준
  • IDENTITY 전략
  • TABLE 전략
  • 영속성컨텍스트
  • argumentresolver
  • @Id
  • consumes
  • ViewName반환
  • @GetMapping
  • SEQUENCE 전략
  • EntityManagerFactory
  • JPA
  • BOJ
  • ORM
  • 영속성
  • 정렬
  • @Column
  • @RequestParam
  • @Table
  • @ManyToOne
  • produces
  • ReturnValueHandler
  • 동일성보장
  • 요청헤더
  • HttpMessageConverter
  • @PostMapping

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
UL :)

UL의 개발 블로그

spring-boot-devtools
Web/Spring

spring-boot-devtools

2022. 8. 4. 01:53

공식문서: https://docs.spring.io/spring-boot/docs/current/reference/html/using.html#using.devtools

 

제공하는 기능:

  • Hot Swapping (정적 리소스가 변경되어도 서버 재시작 없이 반영)
  • H2 Console 자동 활성화
  • 등등... 

 

Gradle 사용 시  build.gradle 설정 :

developmentOnly("org.springframework.boot:spring-boot-devtools")

 

applicatoin.propeties 설정 :

spring.thymeleaf.cache=false
spring.devtools.remote.restart.enabled=true

 

타임리프 사용 중이므로 윗 줄도 들어갔습니다.

 

 

IntelliJ 설정

 

검색(Shift 두번) > Registry >complier.automake.allow.when.app.running 옵션 켜기

 

2021 버전 부터는 해당 설정이 레지스트리에서 Advanced Settings으로 옮겨졌다고 합니다.  참고

 

 

 

Settings > Compiler > Build project automatically 체크

저작자표시 비영리 변경금지

'Web > Spring' 카테고리의 다른 글

테스트용 더미 데이터 넣기 (no entitymanager with actual transaction available for current thread)  (0) 2022.08.09
검증 - 직접구현부터 Spring Validation 까지  (0) 2022.08.05
MapStruct 적용  (0) 2022.06.08
Controller와 Service 계층 간의 데이터 전달  (0) 2022.06.07
DAO, DTO, VO, Repository, 뭐가 다른걸까?  (0) 2022.06.07
    'Web/Spring' 카테고리의 다른 글
    • 테스트용 더미 데이터 넣기 (no entitymanager with actual transaction available for current thread)
    • 검증 - 직접구현부터 Spring Validation 까지
    • MapStruct 적용
    • Controller와 Service 계층 간의 데이터 전달
    UL :)
    UL :)
    백엔드 개발자를 목표로 달리고 있습니다🔥

    티스토리툴바