V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
unbeatable
V2EX  ›  问与答

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

  •  
  •   unbeatable · Aug 8, 2020 · 1568 views
    This topic created in 2098 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   ·   5687 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:46 · PVG 15:46 · LAX 00:46 · JFK 03:46
    ♥ Do have faith in what you're doing.