
idea单元测试resolving maven dependencies
最近在springboot项目中进行单元测试时,遇见这样一个问题,显示卡在这样一个画面:
然后出现这样一个错误:
1 | Error running 'AuditApplicationTests.contextLoads': Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2 |
springboot版本:2.2.6.RELEASE
idea版本:2019.3.4
解决办法:在项目的pom.xml
文件中加入如下依赖
1 | <dependency> |
本文是原创文章,采用CC BY-NC-SA 4.0协议,完整转载请注明来自jarome