我添加到我的 gradle.build 2 依赖项:
compile 'com.google.http-client:google-http-client'
compile 'com.google.http-client:google-http-client-jackson2'
我尝试从 Intellij 刷新,但收到错误:
>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/