처음 프로젝트 실행 시 finished with non-zero exit value 1 오류가 발생한다.
Execution failed for task ':HelloworldApplication.main()'.
> Process 'command 'C:/Program Files/Java/jdk-11/bin/java.exe'' finished with non-zero exit value 1
* 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.

- 해결
1. File > Settings > Build, Execution, Deployment > Build Tools > Gradle에 들어간다.
2. Build and run using 설정을 IntelliJ IDEA로,
3. Run tests using을 IntelliJ IDEA로 바꿔준다.
4. Gradle JVM을로 java 11로 설정해준다.

'BackEnd > spring' 카테고리의 다른 글
| [Spring Boot] SW 아키텍처 - 계층형 아키텍처 패턴 Layered Architecture (0) | 2023.06.07 |
|---|---|
| [IntelliJ] web server failed to start. port 8080 was already in use. 오류 (0) | 2023.06.06 |
| SW Framework, Web Framework / Library와 Framework의 차이 (0) | 2023.06.01 |
| Spring Boot란? (0) | 2023.06.01 |
| Spring Framework의 장점, 단점 / Spring Boot의 등장 (0) | 2023.06.01 |