运行springboot项目时出现的问题:Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2
解决方案:
1、确保pom.xml文件中对Junit的依赖存在,没有添加如下:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>