作者:靠谱的郭大虾_938 | 来源:互联网 | 2023-10-13 11:09
ErrorrunningSpringboot02ApplicationTests.contextLoads:Failedtoresolveorg.junit.vintage:jun
Error running 'Springboot02ApplicationTests.contextLoads': Failed to resolve org.junit.vintage:junit-vintage-engine:5.6.2
这是因为maven中缺少个依赖,添加进去就好了
org.junit.platformjunit-platform-launchertest
添加进去后就ok了