我使用spring boot starter项目在spring boot中创建了新项目,但这向我展示了SunCertPathBuilderException:无法找到指向所请求目标的有效认证路径

发布于 2020-01-02 19:24:54
嘿,你能试试这个吗
将服务URL https更改为http
服务URL http://start.spring.io
发布于 2020-01-02 19:45:39
试着用http://start.spring.io/,它应该可以工作。
发布于 2020-01-02 19:06:20
当您的服务器具有自签名证书时,会出现此问题。要解决这个问题,可以将证书添加到JVM的受信任证书列表中。
有关如何执行此https://better-coding.com/how-to-add-ssl-certificate-into-java-cacerts-file-and-jks-keystore/,请查看本文
https://stackoverflow.com/questions/59562197
复制相似问题