gradle项目导入jar包,报没有证书无法访问
来源:3-4 客户端代码介绍与导入指南

qq_幽冥_0
2020-04-08
Could not resolve all artifacts for configuration ‘:classpath’.
Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)
Could not get resource ‘https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar’.
Could not GET ‘https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar’.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
写回答
1回答
-
Qiujuer
2020-04-13
这个问题建议百度,应该是本地电脑的环境导致的问题。
可以先重复尝试一下,之前有位同学也有这个问题,是按照百度的方法配置了本地的环境解决的。
你可以把错误直接到百度搜索 前面几个就是解决方法。
00
相似问题