gpt4 book ai didi

java - GVM 始终离线

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:43:28 24 4
gpt4 key购买 nike

我正在尝试通过 gvm 命令 '$ gvm i gradle' 安装 gradle,但我收到一条关于离线模式的消息。(任何安装失败并显示以下消息)


➜ ~
➜ ~
➜ ~ gvm i gradle
GVM can't reach the internet so going offline. Re-enable online with:

$ gvm offline disable

==== BROADCAST =============================================

OFFLINE MODE ENABLED! Some functionality is now disabled.

============================================================
This command is not available in offline mode.
➜ ~
➜ ~
➜ ~ gvm offline disable
Online mode re-enabled!
➜ ~
➜ ~
➜ ~ gvm i gradle
GVM can't reach the internet so going offline. Re-enable online with:

$ gvm offline disable

==== BROADCAST =============================================

OFFLINE MODE ENABLED! Some functionality is now disabled.

============================================================
This command is not available in offline mode.

附加信息:代理已配置。



➜ ~
➜ ~
➜ ~ ping gvmtool.net
PING gvmtool.net (192.30.252.154) 56(84) bytes of data.
64 bytes from pages.github.com (192.30.252.154): icmp_seq=1 ttl=50 time=150 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=2 ttl=50 time=151 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=3 ttl=50 time=159 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=4 ttl=50 time=155 ms
64 bytes from pages.github.com (192.30.252.154): icmp_seq=5 ttl=50 time=151 ms
^C
--- gvmtool.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 150.383/153.800/159.585/3.507 ms


最佳答案

万一你半年后来到这里:gvm 不见了,现在是“sdkman!”。

我需要安装我所有的工具并且可以删除 ~/.gvm/

关于java - GVM 始终离线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31272184/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com