Reputation: 23
I have downloaded the latest version of spring tool suite (STS 3.6.2), when I tried to import spring getting started content, it return as below error:
Get started Guide SunCertPathBuilderException: unable to find valid certification path to requested target
I have setup the proxy to visit internet, but I don't know how to import certifications in STS. Please help. Thanks.
James
Upvotes: 2
Views: 11400
Reputation: 401
Had the same issue, so created project from spring initializer https://start.spring.io/ and imported to STS and it loaded all the required .m2 files able to run the application
Upvotes: 0
Reputation: 1
The default url i had was: https://start.spring.io When i removed the 's' --> http://start.spring.io Then it worked. I guess it is to do with my network settings
Upvotes: 0
Reputation:
If still not getting. Then remove s from https://start.spring.io. It should look like Click here
The above image is referred from spring tool suite official website. When you install a new sts it automatically adds secure connection. Hence we can access to that website currently with out secure only.
Upvotes: 0
Reputation: 2611
Go to the Windows -> Preferences -> General -> Network Connection
select the Active Provider option: Manual
then Click on Apply Button
It will be work
Upvotes: 1
Reputation: 1308
I encountered the same problem and tried this: Window -> Preferences -> Network Connections Change mode to Manual
It works fine now.
Upvotes: 6
Reputation: 1
If you're using Ubuntu you can run the following command in the terminal:
sudo update-ca-certificates -f
Source: Ubuntu Manpage
Upvotes: 0