[SpringBoot] 3.2.0 버전 적용 및 관련

원서연·2023년 11월 27일
0

✔️ build.gradle 파일 > plugins에 아래와 같이 버전 업으로 지정하면 된다.

plugins {
    id 'java'
    //id 'org.springframework.boot' version '3.1.5'
    //id 'io.spring.dependency-management' version '1.1.3'
    id 'org.springframework.boot' version '3.2.0'
    id 'io.spring.dependency-management' version '1.1.4'
}

✔️ 환경파일(application.yml)에서 가상 쓰레드 사용을 설정할 수 있다.

  • 성능이 향상된다.
spring:
  threads:
    virtual:
      enabled: true

✔️ 초기라 그런지 버그가 있다. 이걸 해결하는 방법

File > Settings 에서 아래와 같이 설정해준다.

  • Build project automatically : 체크해제
  • Build and run using : Gradle
  • Run tests using : Gradle
profile
웹 백엔드 프로그래밍 Today I Learned

0개의 댓글