java – Cannot use methods of spring-boot-starter-test from maven in Single Unit Test – Spring Boot
java – Cannot use methods of spring-boot-starter-test from maven in Single Unit Test – Spring Boot
If you are using eclipse to develop spring boot application with maven project.
when you run a unit test, you should create the test file in src/test/java
You can try clear your local maven repository and run maven command after that.