Spring Boot中关于junit报错:Failed to resolve org.junit.plaform:junit-platform-launcher:1.5.
·
具体报错如下:


只需要在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>
更多推荐



所有评论(0)