인프런 커뮤니티 질문&답변

todrkrwndgg님의 프로필 이미지

작성한 질문수

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

그레이들 빌드 실패..

23.10.24 23:38 작성

·

462

0

Execution failed for task ':JpashopApplication.main()'. > Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_321.jdk/Contents/Home/bin/java'' 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. > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 5s 3 actionable tasks: 1 executed, 2 up-to-date 4강 듣고있는데 롬복, 어노테이션 설정까지 똑같이 따라 햇는데.. 왜 안되는 걸까요스크린샷 2023-10-24 오후 11.38.12.png스크린샷 2023-10-24 오후 11.37.16.png

 

답변 1

0

codesweaver님의 프로필 이미지

2023. 10. 25. 18:51

안녕하세요. todrkrwndgg님, 공식 서포터즈 코즈위버입니다.

프로젝트를 생성하실 때 자바 8 혹은 11을 선택하시고 프로젝트를 다시 생성해주세요.

그럼에도 같은 문제가 발생한다면 스프링부트는 3.X버전대를 자바는 17을 선택하여 프로젝트를 생성해보시기 바랍니다.

감사합니다.