작성
·
353
0
jdk 1.8 버전 환경에서 진행중입니다.
강의 목차중 빌드하고 실행하기 강의를 따라하던 중
D:\javastudy\hello-spring\hello-spring>gradlew build
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_251 contains a valid JDK installation.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
1 actionable task: 1 executed
이렇게 build failed 메시지가 나오는데
제가 jdk 11 버전을 사용하지 않아서 나오는 문제인가 싶어 질문 드립니다.