问题:
第一次使用sts进行spring starter project项目创建提示sunCertPathBuilderException
解决办法:
1,在Window -> Preferences -> Maven -> Installations 页面配置自己的本地maven环境;
2,在Window -> Preferences -> Network Connections 页面配置网络为手动(Manual);
配置依据:
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 的依据.但是这并不能解决所有的问题,根据实际情况进行判断;
相关参考文档:
eclipse文档:Help - Eclipse Platform