Maven 환경 설정 중 아래와 같은 에러 발생
The JAVA_HOME environment variable is not defined correctly,
This environment variable is needed to run this program.
해결 방법
1. 환경변수 설정에서 JAVA_HOME, MAVEN_HOME, Path 경로 확인
2. cmd 창 실행 후 set JAVA_HOME = (JDK 경로) 입력
반응형
'에러 해결' 카테고리의 다른 글
[Spring Boot] Inferred type 'S' for type parameter 'S' is not within its bound; should extend (0) | 2022.03.26 |
---|---|
[Spring Boot] Protocol handler start failed 에러 (0) | 2022.03.24 |
[Spring Boot, React] 405 (Not Allowed) 에러 (0) | 2022.02.14 |
[Spring Boot] Nginx protocol handler start failed (0) | 2022.02.14 |
[Spring Boot] Unsupported Media Type 415 (0) | 2022.02.06 |