Spring_Test_코드실행 에러

김동민·2023년 11월 28일

Spring

목록 보기
3/5
post-thumbnail
(에러 발생)
Execution failed for task ':test'.
> Process 'Gradle Test Executor 1' 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.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 5s
4 actionable tasks: 4 executed
  • 해결방법
  1. 상위메뉴 > 파일 > 설정 > Build, Execution, Deployment > Build, Tools > Gradle 열기

  2. " Build and run using " , " Runtests using " -> " IntelliJ IDEA " 설정하고
    " Gradle JVM " -> 해당 프로젝트의 java version 으로 변경하기

0개의 댓글