卡住了,怎么弄都不好使,最后给强制结果进程了,如图所示
提示:Junit-platform-launcher:1.5.2.jar
从我的角度来看,
要么就是maven仓库的问题,加载不出来
要么就是我引入的依赖有问题
关于maven仓库的配置,我的就是使用阿里的,按道理不应该存在问题,那么问题就是依赖的问题,我的maven
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
然后就是一直卡住,然后又在原来的基础上添加了下面这个依赖
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
结果就好了。于是乎,我又把这个依赖给移除了,发现还是好的
评论