unbeatable
V2EX  ›  问与答

项目构建工具 maven, gradle, sbt 下载依赖碰到 ssl 问题

  •  
  •   unbeatable · Aug 8, 2020 · 1685 views
    This topic created in 2166 days ago, the information mentioned may be changed or developed.

    在下载依赖时,碰到如下问题: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target maven 设置参数: -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true 解决了。 想请问 gradle, sbt 有相应的解决办法吗? 已经尝试使用 keytool 添加证书的方法,但没有效果。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1430 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    ♥ Do have faith in what you're doing.