Spring Boot中关于junit报错:Failed to resolve org.junit.plaform:junit-platform-launcher:1.5.

具体报错如下:
Spring Boot中关于junit报错:Failed to resolve org.junit.plaform:junit-platform-launcher:1.5._第1张图片
Spring Boot中关于junit报错: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>

你可能感兴趣的:(Bug,maven,junit,java)