๋ณธ๋ฌธ์œผ๋กœ ๋ฐ”๋กœ๊ฐ€๊ธฐ

์œ„์™€ ๊ฐ™์ด ๋นจ๊ฐ„์ƒ‰์œผ๋กœ ์šฐ์ˆ˜์ˆ˜ ์˜ค๋ฅ˜๊ฐ€ ๋‚ฌ๋‹ค.

 

์˜ค๋ฅ˜์˜ ์›์ธ์€ Spring Boot 3.x.x ๋ฒ„์ „ ๋ถ€ํ„ฐ๋Š” Java 17 ์„ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๊ธฐ ๋•Œ๋ฌธ์ด์—ˆ๋‹ค.

๋‚ด ์ปดํ“จํ„ฐ์˜ ํ™˜๊ฒฝ๋ณ€์ˆ˜๋Š” JAVA_HOME์œผ๋กœ jdk-17์ด ์„ค์ •๋˜์–ด ์žˆ์—ˆ๋‹ค.

 

๋ฌธ์ œ๋Š” ์ธํ…”๋ฆฌ์ œ์ด์—์„œ Gradle ๋ฒ„์ „์ด ์„ค์ •๋˜์–ด์žˆ์ง€ ์•Š์•˜๋˜ ๊ฒƒ์ด๋‹ค.

์ด๋ฅผ ์œ„ํ•ด ํ™•์ธํ•ด์•ผํ•  ๊ฒƒ์ด 2๊ฐ€์ง€๊ฐ€ ์žˆ๋‹ค.

1. Project Structure

SDK ๋ฒ„์ „์ด jdk-17๋กœ ๋˜์–ด์žˆ์–ด์•ผ ํ•œ๋‹ค.

2. Settings > Build,Execution, Deployment > Build Tools > Gradle > Gradle JVM ์„ 17๋กœ ๋ณ€๊ฒฝ

=> ๋‚˜๋Š” 2๋ฒˆ์ด ๋˜์–ด ์žˆ์ง€ ์•Š์•„ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.