coding/JAVA & Spring

[JAVA/JDK] Failed to calculate the value of task ':compileJava'

사과키라임파이 2024. 8. 3. 15:47

Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
No locally installed toolchains match and toolchain download repositories have not been configured.

 

아이티 팀플하는데 안 동안 거의 안 하다.. 백엔드 협업 친구의 코드를 급하게 받았다.

보니 jdk 버전이 달랐다.

 

(my cmd prompt)

내 PC : 19

(칭구 build.gradle languageVersion)

협업 코드 : 17

 

17이 LTS 되는 버전이어서 그런 것 같다.

 

그리고 intellij 껐다 켜니 오류 안 뜸.

 

끝.