-
自己这几天在使用springboot的引入了最新的Junit5进行单元测试时,一直都莫名其妙卡在这一步提示信息上Resoving Maven dependencies–junit-platform-launcher,后面查阅了很多博客,终于找到了一个有用的方法,以此来记录一下防止以后出错。
-
只需要引入以下依赖即可,据说是IDEA与junit5的的一个bug问题。
<dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <scope>test</scope> </dependency>
用IDEA单元测试时出现了 Resoving Maven dependencies--junit-platform-launcher的问题
最新推荐文章于 2024-04-17 17:11:29 发布