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

AxingOPENup 2019-11-14 09:52:50
...全文
4126 8 打赏 收藏 转发到动态 举报
写回复
用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文件有问题,要不就是网络有问题,换个网络
以企业现网案例为例现网在用主流技术、防火墙旁挂组网案例、包含但不限于vlan、trunk、eth-trunk、OSPF、vpn-instance、NAT技术等。1、第一部分涉及知识点如下: IP地址配置 vlan划分 trunk vlanif 链路聚合 vrrp技术、MSTP、NAT、 OSPF、静态路由、2、规划:  2.1 六台终端分别属于vlan10 20 30 40 55 60,IP地址已经静态配置好;  2.2 四台接入层交换机创建vlan 划分vlan 配置上行trunk  2.3 核心交换机配置trunk并放行所有vlan与接入层互联;  2.4 核心交换机作为内网终端的网关,使用vlanif作为网关;  2.5 在核心交换机配置VRRP,规划如下:      2.5.1 SW1作为vlan 10 30 55的主网关,SW2作为vlan20 40 60的主网关  2.6 SW1-SW2之间配置链路聚合,采用LACP。  2.7 配置MSTP+VRRP:  2.8 SW1 SW2分别使用vlanif201 202对接出口路由器AR1 AR2      SW1:10.1.201.1/24 AR1:G0/0/1:10.1.201.254/24      SW2:10.1.202.2/24 AR2:G0/0/1:10.1.202.254/24      AR1:G2/0/0:10.1.12.1/24 AR2:G2/0/0:10.1.12.2/24      AR1:G0/0/0:192.168.137.2/24  2.9 出口设备AR1配置默认路由及NAT技术实现访问互联网;  2.10 在出口设备AR1开启DNS解析,设置DNS服务器地址;       [AR1]dns resolve       [AR1]dns server 192.168.137.1  2.11 出口设备与汇聚设备配置OSPF协议,并且处于骨干区域Area 0  2.12 出口设备AR1下发OSPF默认路由;  2.13 完成后 可以ping通百度:Ping www.a.shifen.com [14.119.104.189]: 32 data bytes, Press Ctrl_C to breakFrom 14.119.104.189: bytes=32 seq=1 ttl=52 time=62 msFrom 14.119.104.189: bytes=32 seq=2 ttl=52 time=63 msFrom 14.119.104.189: bytes=32 seq=3 ttl=52 time=62 msFrom 14.119.104.189: bytes=32 seq=4 ttl=52 time=63 msFrom 14.119.104.189: bytes=32 seq=5 ttl=52 time=62 ms

62,615

社区成员

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

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