I was getting below error while setting up Spring Tool project after a while.

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.springsource.ide.eclipse.commons.livexp.util.ExceptionUtil.unchecked(ExceptionUtil.java:165)
at org.springframework.ide.eclipse.boot.wizard.github.GithubClient.get(GithubClient.java:177)
at org.springframework.ide.eclipse.boot.wizard.github.GithubClient.get(GithubClient.java:142)
at org.springframework.ide.eclipse.boot.wizard.content.GettingStartedContent$3.fetch(GettingStartedContent.java:182)
at org.springframework.ide.eclipse.boot.wizard.content.GettingStartedContent$3.fetch(GettingStartedContent.java:1)
at org.springframework.ide.eclipse.boot.wizard.content.TypedContentManager.fetch(TypedContentManager.java:45)
at org.springframework.ide.eclipse.boot.wizard.content.TypedContentManager.getAll(TypedContentManager.java:39)
at org.springframework.ide.eclipse.boot.wizard.content.ContentManager.get(ContentManager.java:89)
at org.springframework.ide.eclipse.boot.wizard.content.ContentManager.get(ContentManager.java:100)
at org.springframework.ide.eclipse.boot.wizard.content.ContentManager.getWithPrefetchCheck(ContentManager.java:112)
at org.springframework.ide.eclipse.boot.wizard.guides.ChooseTypedContentSection$ContentProvider.getChildren(ChooseTypedContentSection.java:124)
at org.springframework.ide.eclipse.boot.wizard.guides.ChooseTypedContentSection$ContentProvider.hasChildren(ChooseTypedContentSection.java:145)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2173)
at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:546)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2203)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1807)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1820)
at org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:1133)
at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(AbstractTreeViewer.java:1089)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
at org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:1088)
at org.eclipse.jface.viewers.AbstractTreeViewer.expandAll(AbstractTreeViewer.java:1049)
at org.springframework.ide.eclipse.boot.wizard.guides.ChooseTypedContentSection.updateFilter(ChooseTypedContentSection.java:419)
at org.springframework.ide.eclipse.boot.wizard.guides.ChooseTypedContentSection.access$1(ChooseTypedContentSection.java:416)
at org.springframework.ide.eclipse.boot.wizard.guides.ChooseTypedContentSection$PrefetchContentListener.lambda$0(ChooseTypedContentSection.java:79)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4001)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3629)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:102)
at org.eclipse.ui.internal.views.helpers.EmptyWorkspaceHelper$1.linkActivated(EmptyWorkspaceHelper.java:275)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:215)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:309)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.lambda$3(AbstractHyperlink.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)

Spring tool setting: Spring Tool comes with below Network and connection setting:


Solution: You will have to make it manual to work:

Leave a Reply

Your email address will not be published. Required fields are marked *