SpringBoot启动@Test单元测试时,一致卡在加载junit-bom-5.6.3.pom.xml文件
作者:互联网
今天做项目时创建一个SpringBoot工程,使用的版本是<spring-boot.version>2.3.7.RELEASE</spring-boot.version>
当我什么都写好了的时候,准备使用测试类测试一下,结果直接炸了......硬是给我卡在加载junit-bom-5.6.3.pom.xml文件
所以这里记录一下踩的坑,希望大家不要遇到. 解决办法如下:导入相关的依赖
<!-- junit-jupiter-api -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.3</version>
<scope>test</scope>
</dependency>
标签:xml,SpringBoot,5.6,pom,jupiter,junit 来源: https://www.cnblogs.com/qbbit/p/16260631.html