STS 创建项目 sunCertPathBuilderException 异常问题修复原因记录

问题:

第一次使用sts进行spring starter project项目创建提示sunCertPathBuilderException

sunCertPathBuilderException

解决办法:

1,在Window -> Preferences -> Maven -> Installations 页面配置自己的本地maven环境;

2,在Window -> Preferences -> Network Connections 页面配置网络为手动(Manual);

配置依据:

eclipse文档截图

Specifies the settings profile to be used when opening connections. 

Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. 

Selecting Manual causes settings defined in Eclipse to be used. (选择Manual将使用Eclipse中定义的设置。)

On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.(将使用在操作系统中发现的设置)

注:特别表明设置 Network Connections 设置为 Manual 的依据.但是这并不能解决所有的问题,根据实际情况进行判断;

相关参考文档:

博客:STS网络配置问题_2020.05.07 - 简书

eclipse文档:Help - Eclipse Platform

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值