Make Be BackEnd
[SpringBoot] JDK 11 , spring boot 2.x 버전 본문
[ERROR]
더보기
A problem occurred configuring root project 'hello-spring'.
Could not resolve all files for configuration ':classpath'.
Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.2.
Required by:
project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.2
No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.2 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.6' but:
...
에러난 이유는 Java 버전과 Spring boot 버전에 따른 지원 확인 제대로 안한것.......
Java 버전 11인 경우 Spring boot 버전은 3.x 이하만 지원
[Java 17 이상 , SpringBoot 3.x 이상]

[Java 11 , SpringBoot 2.x 지원]

'Error' 카테고리의 다른 글
| [Java] System.in.read() (0) | 2023.09.21 |
|---|---|
| [GitHub]error: remote origin already exists. (0) | 2023.09.20 |
| [Intellj IDEA] Execution failed for task ':test' (0) | 2023.09.18 |
| [Spring Boot] Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled (2) | 2023.09.16 |
| [MysqlWorkBench] 설치 에러 (C++ 2019 Redistributable package) (0) | 2023.09.16 |