An exception occurred applying plugin request [id: 'org.springframework.boot', version: '2.4.0']
> Failed to apply plugin [id 'org.springframework.boot']
   > Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later). The current version is Gradle 6.1.1

 

์ธํ…”๋ฆฌJ์—์„œ ์‹ ๊ทœ ๊ทธ๋ž˜๋“ค ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ์Šคํ”„๋ง๋ถ€ํŠธ ์ตœ์‹ ๋ฒ„์ „์ธ 2.4๋ฅผ ํ”Œ๋Ÿฌ๊ทธ์ธ์œผ๋กœ ์ถ”๊ฐ€ํ–ˆ๋”๋‹ˆ ์œ„์™€๊ฐ™์ด ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

ํ˜„์žฌ gradle 6.1.1 ๋ฒ„์ „์„ ์‚ฌ์šฉ์ค‘์ด๊ณ  ์Šคํ”„๋ง๋ถ€ํŠธ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด 6.3 ์ด์ƒ์˜ ๋ฒ„์ „์ด ํ•„์š”ํ•˜๋‹ค๋Š” ๊ฑฐ์˜€๋‹ค.

 

๊ทธ๋ž˜๋“ค์€ ์ตœ์‹ ๋ฒ„์ „์ด ํ˜„์žฌ 6.7.1 (๊ทธ๋ž˜๋“ค ๊ณต์‹์‚ฌ์ดํŠธ)์ด๋ฉฐ ์—…๊ทธ๋ ˆ์ด๋“œ๋Š” ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ๋œ๋‹ค.

(์ฃผ์˜: ์šฐ์„  ๋นŒ๋“œ์‹œ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋‹ˆ ์ถ”๊ฐ€ํ–ˆ๋˜ ๋‚ด์šฉ์„ ์ฃผ์„์ฒ˜๋ฆฌ ํ•œ๋’ค ์‹คํ–‰ํ•œ๋‹ค. ๋˜ํ•œ ์‹ ๊ทœ ํ”„๋กœ์ ํŠธ๊ฐ€ ์•„๋‹Œ ๊ธฐ์กด ํ”„๋กœ์ ํŠธ์—์„œ ๊ทธ๋ž˜๋“ค ๋ฒ„์ „์„ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•  ์‹œ์—๋Š” ๊ณต์‹๋ฌธ์„œ๋ฅผ ์ถฉ๋ถ„ํžˆ ์ฝ์–ด๋ณด๊ณ  ์ง„ํ–‰ํ•  ๊ฒƒ์„ ์ถ”์ฒœํ•œ๋‹ค.)

> gradle wrapper --gradle-version 6.7.1

 

07:40:20: Executing tasks 'wrapper --gradle-version 6.7.1'...

> Task :wrapper

BUILD SUCCESSFUL in 344ms
1 actionable task: 1 executed
07:40:20: Tasks execution finished 'wrapper --gradle-version 6.7.1'.

์ด์ œ ๋‹ค์‹œ build.gradle ํŒŒ์ผ์—์„œ ์Šคํ”„๋ง๋ถ€ํŠธ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ฃผ์„์„ ํ•ด์ œํ•˜๊ณ  ๊ทธ๋ž˜๋“ค SYNC๋ฅผ ํ•˜๋ฉด ์•„๋ž˜์ฒ˜๋Ÿผ 6.7.1 ๋ฒ„์ „์„ ๋‹ค์šด๋กœ๋“œํ•˜์—ฌ ๋นŒ๋“œ์— ์„ฑ๊ณตํ•œ๋‹ค.

Download https://services.gradle.org/distributions/gradle-6.7.1-bin.zip (102.84 MB)
Download https://services.gradle.org/distributions/gradle-6.7.1-bin.zip finished succeeded, took 12 s 837 ms
Starting Gradle Daemon...
Gradle Daemon started in 1 s 447 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE

BUILD SUCCESSFUL in 1m 14s

 

 

 

 

 

์ฐธ๊ณ ๋ฌธ์„œ: docs.gradle.org/current/userguide/upgrading_version_6.html

 

Upgrading your build from Gradle 6.x to the latest

This chapter provides the information you need to migrate your Gradle 6.x builds to the latest Gradle release. For migrating from Gradle 4.x or 5.x, see the older migration guide first. We recommend the following steps for all users: Try running gradle hel

docs.gradle.org