작성
·
886
0
메뉴 자체도 선생님이랑 다르고 save() run이라고 표시되질 않아요
C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:4: error: package org.springframework.boot.test.context does not exist
import org.springframework.boot.test.context.SpringBootTest;
^
C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:6: error: cannot find symbol
@SpringBootTest
^
symbol: class SpringBootTest
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.
* 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
BUILD FAILED in 1s
3 actionable tasks: 1 executed, 2 up-to-date
오류는 이렇게 발생하는데 아무리 검색해봐도 비슷한것도 나오질 않는데 어떻게 해야하나요?