문제점
> 새로운 Package를 만들고 그 안에 java 를 생성해서 Run을 하였는데, 다음과 같은 에러가 발생했습니다.
해결 방법
1. File > Settings
2. Build, Execution, Deployment > Build Tools > Gradle 메뉴로 이동
3. Build and run using을 Intellij IDEA로 변경
4. Run tests using을 Intellij IDEA로 변경
5. Gradle JVM을 설치한 JDK로 변경
참고 사이트
intellij 실행 시 finished with non-zero exit value 1 오류
intellij, Gradle 환경에서 프로젝트를 첫 실행 할 때 아래와 같은 오류가 발생하는 경우가 있습니다. Execution failed for task ':DemoSpringApplication.main()'. > Process 'command 'JDK경로/bin/java.exe''..
yjh5369.tistory.com
'Backend > Solving Problem' 카테고리의 다른 글
| [Intellij] ArrayIndexOutOfBoundsException 에러 (0) | 2022.08.22 |
|---|---|
| [Intellij] Process finished with exit code 0 의미 (0) | 2022.08.22 |
| [Intellij] Package 생성 방법 (0) | 2022.08.22 |
| [Intellij] Project 삭제 (0) | 2022.08.21 |