STS (Spring Tool Suite) 导入getting started guide提示SunCertPathBuilderException错误的解决

使用Spring Tool Suite试图导入getting started guide的时候,出现了下面的错误提示:

SunCertPathBuilderException: unable to find valid certification path to requested target

STS (Spring Tool Suite) 导入getting started guide提示SunCertPathBuilderException错误的解决_第1张图片


找遍了google、stackoverflow、baidu,都没有明确的解决方法。

偶然在这篇文章中看到了修改network connections配置:

http://stackoverflow.com/questions/27946339/spring-tool-suite-getting-started-guide-does-not-work/36732738#36732738

死马当活马医,试试把网络连接配置修改了一下:

STS (Spring Tool Suite) 导入getting started guide提示SunCertPathBuilderException错误的解决_第2张图片


然后再试试导入getting started guide,神奇的现象发生了:

STS (Spring Tool Suite) 导入getting started guide提示SunCertPathBuilderException错误的解决_第3张图片

居然可以了……

虽然可以工作了,但是还是不知为何会这样……有人知道的麻烦科普一下,谢谢!


2016-06-02修改:如果还是不行,可以参考这个文章,把证书导出来放到本地:https://dzone.com/articles/resolve-pkix-path-building-failed


你可能感兴趣的:(疑难杂症)