gpt4 book ai didi

java - intellij 拒绝连接到 http ://127. 0.0.1:8888

转载 作者:行者123 更新时间:2023-12-02 08:23:38 24 4
gpt4 key购买 nike

我添加到我的 gradle.build 2 依赖项:

compile 'com.google.http-client:google-http-client'
compile 'com.google.http-client:google-http-client-jackson2'

我尝试从 Intellij 刷新,但收到错误:

enter image description here

enter image description here我尝试从cmd构建我收到此错误:

>Could not resolve com.google.http-client:google-http-client:.
Required by:
:RoutingRegression:1.0
> Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'.
> Connection to http://127.0.0.1:8888 refused
> Could not resolve com.google.http-client:google-http-client-jackson2:.
Required by:
:RoutingRegression:1.0
> Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client-jackson2//google-http-client-jackson2-.pom'.
> Connection to http://127.0.0.1:8888 refused

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

我该如何解决这个问题?

最佳答案

您机器中的其他应用程序似乎正在使用端口 8888,您可以尝试关闭该应用程序并再次尝试构建

关于java - intellij 拒绝连接到 http ://127. 0.0.1:8888,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35603859/

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