728x90
IntelliJ에서 Gradle Project를 실행하다가 발생한 에러 입니다.
Execution failed for task ':Application.main()'.
> Process 'command 'C:/Program Files/Java/jdk1.8.0_321/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.
해당 에러는 IntelliJ의 설정을 수정해서 해결 했습니다.
IntelliJ File -> Settings 클릭하면 'Settings' 창이 열립니다.
Build, Execution, Deployment -> Build Tools -> Gradle 경로로 들어가서 'Build and run using' 부분을 'IntelliJ IDEA' 로 변경합니다.
해당 설정을 변경하고 다시 Gradle Project를 실행하면 정상적으로 실행이 됩니다.
728x90
'SpringBoot' 카테고리의 다른 글
IntelliJ properties 파일 한글 깨짐 현상 (0) | 2022.08.29 |
---|---|
IntelliJ + mustache 사용 시 한글 깨짐 (0) | 2022.08.29 |
그레이들(Gradle) build.gradle 파일 dependency 정리 2 (0) | 2022.08.07 |
그레이들(Gradle) build.gradle 파일 dependency 정리 1 (0) | 2022.08.07 |
스프링부트 패스워드 암호화 (0) | 2022.08.01 |