[Error] Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1.

최지우·2023년 1월 13일
0

spring

목록 보기
3/3

Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1.

원인

  • spring 프로젝트 생성 시, 기본 설정되어 있는 버전인 3.0.1 버전으로 설치하였다.
  • 하지만 이는 Java 17에서 지원하지 않는 버전이다.

해결

자바 jdk 버전 호환

Spring - JDK 간 버전 호환
Spring Framework 5.3.x with JDK 8 - 19 (expected)
Spring Framework 5.2.x with JDK 8 - 15
Spring Framework 5.1.x with JDK 8 - 12
Spring Framework 5.0.x with JDK 8 - 10
Spring Framework 4.3.x with JDK 6 - 8 (its official EOL(end-of-life))

Spring Boot - JDK 간 버전 호환
Spring Boot 2.3↑ with Java 9 and above
Spring Boot 2.1↓ with Java 8 - 11

profile
안녕하세요.

0개의 댓글