Could not resolve com.huawei.agconnect:agcp:1.6.2.300 高手们知道如何解决这个问题吗?
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.huawei.agconnect:agcp:1.6.2.300.
Required by:
project :
> Could not resolve com.huawei.agconnect:agcp:1.6.2.300.
> Could not get resource 'http://test.vlion.cn:8081/nexus/content/repositories/inland/com/huawei/agconnect/agcp/1.6.2.300/agcp-1.6.2.300.pom'.
> Could not GET 'http://test.vlion.cn:8081/nexus/content/repositories/inland/com/huawei/agconnect/agcp/1.6.2.300/agcp-1.6.2.300.pom'.
> Connect to test.vlion.cn:8081 [test.vlion.cn/118.31.21.132] failed: Connection refused: connect
> Could not resolve com.huawei.agconnect:agcp:1.6.2.300.
> Could not get resource 'https://dl.bintray.com/sunjiangrong/maven/com/huawei/agconnect/agcp/1.6.2.300/agcp-1.6.2.300.pom'.
> Could not GET 'https://dl.bintray.com/sunjiangrong/maven/com/huawei/agconnect/agcp/1.6.2.300/agcp-1.6.2.300.pom'. Received status code 502 from server: Bad Gateway
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
检查网络是否可以连接上你的maven仓库,初步判断是maven仓库配置不正确导致的