[์—๋Ÿฌ ์ผ์ง€] A problem occurred configuring root project ...

JayKimยท2023๋…„ 5์›” 29์ผ
1

์—๋Ÿฌ ์ผ์ง€

๋ชฉ๋ก ๋ณด๊ธฐ
1/1
post-thumbnail

๐Ÿšซ 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 ๋ฒ„์ „์œผ๋กœ ์„ ํƒํ•˜์—ฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ๋‹ค.

profile
ๅ€‹ไบบ็š„ใช้–‹็™บๆ—ฅ่ชŒ่จ˜้Œฒ็”จ

0๊ฐœ์˜ ๋Œ“๊ธ€