Programming/JAVA
[JAVA] intellij에서 Spring 실행 시 finished with non-zero exit value 1 에러 해결 방법
Nirsa
2022. 4. 5. 23:52
반응형
intellij에서 Spring 실행 시 finished with non-zero exit value 1 에러 해결 방법
intellij에서 Spring 실행 시 finished with non-zero exit value 1 에러가 발생할 경우 아래와 같이 해결할 수 있습니다.
1. File → Settings...
2. Build, Execution, Deployment → Build Tools → Gradle
경로를 들어가보면 Build and run using과 Run tests using이 Gradle(default)로 되어있을 텐데, 두개 다 Intellij IDEA로 변경 해주시면 됩니다.
이후 다시 Spring을 실행해보면 정상적으로 실행됨을 확인할 수 있습니다.
반응형