인텔리제이 실행 에러
처음 프로젝트 셋팅하고 인텔리제이 실행 에러가 나는데 이럴때가 가장 난감하다.
왜인지는 나중에 정리해놓더라도 발생한 실행 에러와 해결 방법은 적어두자.
- 에러 메시지
process command finished with non-zero exit value 1
> Process 'command '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.
해결 방법
- File/Setting 메뉴 클릭(ctrl+alt+s)
- Build,Excutions,Deployment> Build Tools > Gradle 메뉴로 이동
- Build and run using와 Run tests using 을 IntelliJ IDEA로 변경
- Gradle JVM을 jdk11로 변경 (없으면 java11설치)
'Java관련 > Intellij' 카테고리의 다른 글
rename the root module , java project in 인텔리제이 (0) | 2022.05.03 |
---|---|
인텔리제이 Java project에 외부 라이브러리(assertJ) 등록하기 (0) | 2022.04.03 |
intellij 테스트 코드 live templates 설정 (0) | 2022.03.12 |
댓글