idea运行测试时提示错误Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2

AxingOPENup 2019-11-14 09:52:50
...全文
4901 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
DaiGG_ 2020-05-08
  • 打赏
  • 举报
回复 2
引用 3 楼 king_court 的回复:
可能是你导入的包不对。import org.junit.Test; 是需要导入这个包的
这是对的
一只大死鱼 2020-03-10
  • 打赏
  • 举报
回复 1
引用 6 楼 hz15019409116 的回复:
<dependency> <!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found errors --> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <scope>test</scope> </dependency> 加上这个可以解决,在另一个帖子看到的 https://blog.csdn.net/qiuyeyijian/article/details/104401631
可以,谢谢
jcj228675 2020-03-03
  • 打赏
  • 举报
回复
引用 6 楼 hz15019409116 的回复:
<dependency> <!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found errors --> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <scope>test</scope> </dependency> 加上这个可以解决,在另一个帖子看到的 https://blog.csdn.net/qiuyeyijian/article/details/104401631
真的可以,十分感谢
hz15019409116 2020-02-22
  • 打赏
  • 举报
回复
<dependency> <!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found errors --> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <scope>test</scope> </dependency> 加上这个可以解决,在另一个帖子看到的 https://blog.csdn.net/qiuyeyijian/article/details/104401631
ylylylylylylyly 2020-02-18
  • 打赏
  • 举报
回复
大佬解决了么,我也是这个问题,然后我把这个包删除了之后,自动下载就一直不会动,已经配置了阿里云,别的jar包下载都没问题就到他这卡住了。
king_court 2020-02-16
  • 打赏
  • 举报
回复 2
可能是你导入的包不对。import org.junit.Test; 是需要导入这个包的
会飞的鱼。 2021-07-15
  • 举报
回复
@king_court 已解决
testerzzz 2019-12-25
  • 打赏
  • 举报
回复
我也是这个错,要不就是你的maven seting文件有问题,要不就是网络有问题,换个网络

62,631

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧