I've just upgraded my projects to use Spring Boot 2.1.0 (before it was 2.0.x) and i have compilation WARNINGS:
[WARNING] Cannot find annotation method 'value()' in type 'org.junit.jupiter.api.extension.ExtendWith': class file for org.junit.jupiter.api.extension.ExtendWith not found
I can add dependency org.junit.jupiter / junit-jupiter-api to solve the warning, but I feel it's a 'hack'.
I don't want to see that warning (especially that my projects treat warnings like errors) and I don't want to pollute my projects with unnecessary dependencies.
i'm using Maven, but i can see someone had the same problem with Gradle https://www.reddit.com/r/java/comments/9sogxf/spring_boot_210_released_now_with_java_11_support/