具体报错如下:
Failed to resolve org.junit.plaform:junit-platform-launcher:1.5.2
在这里插入图片描述
只需要在pom.xml中加入以下依赖就可以了

	<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>

更多推荐