gpt4 book ai didi

ssl - 运行 Grails 新项目时 PKIX 路径验证失败

转载 作者:行者123 更新时间:2023-12-02 14:48:14 26 4
gpt4 key购买 nike

我创建了一个新的 Grails 4.0.2 应用程序并运行它,得到了

FAILURE: Build failed with an exception.

* What went wrong:
Could not download web.jar (org.grails.profiles:web:4.0.0)
> Could not get resource 'https://repo.grails.org/grails/core/org/grails/profiles/web/4.0.0/web-4.0.0.jar'.
> Could not HEAD 'https://repo.grails.org/grails/core/org/grails/profiles/web/4.0.0/web-4.0.0.jar'.
> sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

CONFIGURE FAILED in 9s

有任何想法吗?

最佳答案

The JDK or certificate store you are using is out of date .更新到更新版本的 JDK 发行版或手动添加缺少的证书。

这是因为 Sectigo's AddTrust External CA Root Expiring May 30, 2020

关于ssl - 运行 Grails 新项目时 PKIX 路径验证失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62347151/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com