๐ป Language/Java : ์๋ฐ
[E] java: warning: source release 17 requires target release 17
mxnxeonx
2025. 4. 17. 13:08
728x90
728x90
IntelliJ์์ Java 17๋ก ์คํํ๋ ํ๋ก์ ํธ๋ฅผ ์๋ฒ ํ๊ฒฝ๊ณผ ๋ง์ถ๊ธฐ ์ํด Java 8๋ก ๋ค์ด๊ทธ๋ ์ด๋ํ๊ณ ์ฌ์คํํ๋ ๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
java: warning: source release 17 requires target release 17
Module calladmin SDK 1.8 is not compatible with the source version 17.
Upgrade Module SDK in project settings to 17 or higher. Open project settings.
ํด๊ฒฐ ๋ฐฉ๋ฒ
Java 17 ์ปดํ์ผ๋ฌ๋ฅผ ์ฐพ์ง ๋ชปํด ๋ฐ์ํ๋ ๋ฌธ์ ๋ก, ์ปดํ์ผ๋ฌ ๊ฒฝ๋ก๋ฅผ ๋ค์ ์ฐ๊ฒฐํด ์ฃผ๋ฉด ํด๊ฒฐ๋๋ค.
settings > Build,Execution, Deployment > Compiler > Java Compiler ํญ์์ Per-module bytecode version:์ ํ์ฌ ์์ ์ค์ธ ํ๋ก์ ํธ๋ค์ ๋ชจ๋๋ก ์ถ๊ฐํ๊ณ Target bytecode version ๊ฐ์ ์ฌ์ฉํ Java ๋ฒ์ ์ผ๋ก ๋ณ๊ฒฝํ๋ค.
728x90
320x100