启动测试类的时候一直报错,启动不起来!
首先从以下的原因里面入手
1.mirrors里面设置的是阿里云的路径
2.在pom.xml中也有junit的依赖
3.最后通过上网查找发现还需要导入一个依赖
<dependency>
<!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found errors -->
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>