我添加了我的gradle.build 2依赖项:
compile 'com.google.http-client:google-http-client'
compile 'com.google.http-client:google-http-client-jackson2'我尝试从Intellij刷新,但得到一个错误:


我尝试从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.我该如何解决这个问题呢?
发布于 2020-02-25 12:48:11
您计算机中的其他应用程序似乎正在使用端口8888,您是否可以尝试关闭该应用程序,然后再次尝试构建
https://stackoverflow.com/questions/35603859
复制相似问题