๐ซ 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๋ 8 ๋ฒ์ ์ธ๋ฐ, Spring boot ๋ฒ์ ์ 3.x๋ก ์ค์นํด์ ๋ฐ์ํ ์๋ฌ์ด๋ค.
Spring boot 3.x ๋ฒ์ ์ JAVA 17 ๋ฒ์ ๋ถํฐ ์ง์ํ๋ค.
๋ฐฉ๋ฒ 1. JAVA๋ฅผ 17 ๋ฒ์ ์ผ๋ก ์
๋ฐ์ดํธ ํ๋ค.
๋ฐฉ๋ฒ 2. Spring boot๋ฅผ 2.x ๋ฒ์ ์ผ๋ก ์ ํํ์ฌ ํ๋ก์ ํธ๋ฅผ ์์ฑํ๋ค.