有没有遇到这个问题,在测试的时候
一直卡在Resolving Maven dependencies…
框内其实因为一直下载一个Junit5依赖的jar包,下载不下来所以卡死。
此时需要在pom中手动导入一下两个依赖
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
OK,完美解决!