There has to be something wrong with the gradle file for 6.3.7. Checking out the latest 6.3.7, adding an empty Junit test, adding: testImplementation 'org.springframework.boot:spring-boot-starter-test:2.3.7.RELEASE' to gradle file and getting the exact same exception:
> Task :test
UnknownClass.JUnit Jupiter > UnknownClass.initializationError FAILED
org.junit.platform.commons.JUnitException at EngineExecutionOrchestrator.java:114
Caused by: java.lang.NoClassDefFoundError at OpenTest4JAndJUnit4AwareThrowableCollector.java:58
Caused by: java.lang.ClassNotFoundException at BuiltinClassLoader.java:583
UnknownClass.JUnit Jupiter FAILED
2 tests completed, 2 failed
> Task :test FAILED
FAILURE: Build failed with an exception.