process 'gradle test executor 1' finished with non-zero exit value 1

박영준·2023년 7월 12일
0

Troubleshooting

목록 보기
14/29

1. 발생한 에러 메시지

process 'gradle test executor 1' finished with non-zero exit value 1

배포 중 build 를 할 때 발생한 에러다.

2. 발생 원인

해당 파일에 있는 Dfile.encode 코드가 문제였다.

3. 해결법


Help > Edit Custom VM Options... 로 들어가서, Dfile.encode 코드들을 지워준다.

// 예를 들면 이런 코드들
-Dfile.encoding=UTF-8
-Dconsole.encoding=UTF-8

참고: [Intellij/JUnit/Gradle]Coud not find or load main class worker.org.gradle.process.internal.worker.Gradle.WorkerMain

profile
개발자로 거듭나기!

0개의 댓글