问题描述
我正在研究STS,并且在创建新的spring-boot项目时显示以下错误:
I am working on STS and while creating a new spring-boot project, it shows following error:
SunCertPathBuilderException: unable to find valid certification path to requested target
因为它访问 https://start.spring.io 作为服务URL.
since it access https://start.spring.io as a service URL.
我在公司网络中工作,他们有自己的证书和安全规则.我调查了Web,但找不到STS的任何明确解决方案.如何在给定URL的STS中添加认证路径.感谢您的帮助.
I am working in a corporate network and they have their own certificates and security rules. I looked into web but could not find any clear solution for STS. How should I add certification path in STS for given URL.Any help is appreciated.
推荐答案
尝试使用 http 代替 https http://start.spring.io
以下错误将得到解决" SunCertPathBuilderException:无法找到到所请求目标的有效证书路径"
The following error will be resolved"SunCertPathBuilderException: unable to find valid certification path to requested target"
这篇关于Spring工具套件-SunCertPathBuilderException:无法找到到请求目标的有效证书路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!