
build๋ฅผ ์คํจํ๋ฉด ์ ๋นจ๊ฐ์ ์ค์ BUILD FAILED ๋ผ๊ณ ๋ฌ๋ค. ์ด์ ํฌ์คํ ์์ JDK 1.8.0_291 ๋ฒ์ ์ ์ค์นํ๋๋ฐ ./gradlew๋ฅผ ๋์ง๋ง, ./gradlew build๋ฅผ ํ๋๋ ๋น๋๊ฐ ์คํจํ๋ค๊ณ ๋ด๋ค.

์คํ๋ง ํ๋ก์ ํธ๋ฅผ ์์ฑ ๋น์์ ์คํ๋ง ๋ถํธ 3.0 ๋ฏธ๋ง ๋ฒ์ ๋ค์ ๊ฐ๊ธ์ ์ด๋ฉด ์๋ฐ 11์ ์ค์นํด์ผ ํ๋๋ฐ ๊ทธ๊ฑธ ๊ฐ๊ณผํ๊ณ ์์๋ค. ์คํ๋ง ๋ถํธ 3.0 ์ด์์ Java 17 ์ด์์ ์ฌ์ฉํด์ผ ํ๋ค. ๋๋ ์์ฑ ๋น์ Spring Boot 2.7-์ ์ ํํ์ด์ ์๋ฐ 11์ ์ฌ์ฉํ์ด์ผ ํ๋ค.
๋ง์ฝ ํ์ฌ ๋ฒ์ ์ ํ์ธํ๊ณ ์ถ๋ค๋ฉด ์๋์ฐ + R -> cmd -> java -version ์ด๋ผ๊ณ ์ณ๋ณธ๋ค. JDK 11์ ์ค์นํด์ฃผ๊ณ PATH, JAVA_HOME ๊ฒฝ๋ก๋ฅผ ์ฌ์ค์ ํ๋ค.
JDK 11 Version
https://www.oracle.com/kr/java/technologies/javase/jdk11-archive-downloads.html
Java Archive Downloads - Java SE 11 | Oracle ๋ํ๋ฏผ๊ตญ
WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. For production use Oracle recommends downlo
www.oracle.com
๊ฒฝ๋ก ์ค์ ๋ฐฉ๋ฒ์ ์ด์ ํฌ์คํ ์ ์๋ค.
./gradlew build๋ฅผ ์ณค๋๋ BUILD SUCCESSFUL์ด ๋ ๊ฒ์ ๋ณผ ์ ์๋ค.

'๐ Growth > Troubleshooting' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [Git Error] [rejected] master -> master (non-fast-forward) ํด๊ฒฐ (0) | 2023.10.29 |
|---|---|
| [IntelliJ Error] Commit checks failed (Windows) (1) | 2023.10.25 |
| [IntelliJ Warning] Lombok requires enabled annotation processing (Windows) (0) | 2023.10.25 |
| [์คํ๋ง ERROR ํด๊ฒฐ] MySQL ์ฐ๋ (0) | 2023.10.22 |
| [์คํ๋ง] JAVA_HOME ERROR (0) | 2023.05.12 |