我添加到我的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.
我该如何解决这个问题?
答案 0 :(得分:0)
您的计算机中似乎有其他应用程序正在使用端口8888,您能否尝试关闭该应用程序并尝试再次构建