GradleWeb Facets/Artifacts will not be configured properly

Posted 后端研发Marion

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了GradleWeb Facets/Artifacts will not be configured properly相关的知识,希望对你有一定的参考价值。


Warning:<i><b>root project provider: Web Facets/Artifacts will not be configured properly</b>
Details: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration :runtimeClasspath.
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.aliyun:aliyun-java-sdk-core:4.1.1.
Required by:
project :
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.aliyun:aliyun-java-sdk-core:4.1.1.
Caused by: org.gradle.api.resources.ResourceException: Could not get resource https://maven.aliyun.com/repository/central/com/aliyun/aliyun-java-sdk-core/4.1.1/aliyun-java-sdk-core-4.1.1.pom.
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET https://maven.aliyun.com/repository/central/com/aliyun/aliyun-java-sdk-core/4.1.1/aliyun-java-sdk-core-4.1.1.pom.
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</i>

一、问题分析

Java Gradle项目报错Warning:project xxx: Web Facets/Artifacts will not be ....​

二、问题原因

原来是我开启了charles,有代理导致访问不了
​​​org.gradle.api.resources.ResourceException: Could not get resource ‘https://xxx.xxx/xxx.pom​

【Gradle】Web

以上是关于GradleWeb Facets/Artifacts will not be configured properly的主要内容,如果未能解决你的问题,请参考以下文章