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
enter

You can try clear your local maven repository and run maven command after that.

java – Cannot use methods of spring-boot-starter-test from maven in Single Unit Test – Spring Boot

Leave a Reply

Your email address will not be published. Required fields are marked *