Failed to resolve org.junit.vintage:junit-vintage-engine:5.6.2
·
Error running 'Springboot02ApplicationTests.contextLoads': Failed to resolve org.junit.vintage:junit-vintage-engine:5.6.2
这是因为maven中缺少个依赖,添加进去就好了
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
添加进去后就ok了
更多推荐
所有评论(0)