Spring 학습 중 gradlew.bat 파일을 실행하는 데 발생한 오류이다.
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-17.0.4\bin
해결법: 환경변수에서 \bin을 지우면 정상 동작한다.
'Error' 카테고리의 다른 글
Spring - Cannot invoke "" because "" is null (0) | 2023.05.23 |
---|---|
Spring - java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver (0) | 2023.05.16 |
eclipse - Duplicate local variable (0) | 2022.11.25 |
Linux - function declaration isn't a prototype (0) | 2022.11.14 |
Linux - Authentication failure (0) | 2022.10.27 |