是的,我确实遇到了同样的问题。这是修复
问题:
eclipse.buildId=4.21.0.I20210906-0500
java.version=16.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.jee.product
org.eclipse.epp.mpc.core
**Error**
Thu Sep 16 13:07:14 IST 2021
Cannot complete request to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.21: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
org.eclipse.core.runtime.CoreException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.eclipse.epp.internal.mpc.core.transport.httpclient.HttpClientTransport.stream(HttpClientTransport.java:117)
解决方案:
In order to resolve this issue, I copied my security/cacert file from my JRE (java-se-8u41/jre/lib/security/cacert) to my eclipse (/eclipse/../jre/lib/security/cacert) e.g. /eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149/jre/lib/security/cacert
参考:
有关更多详细信息和分步指南以及屏幕截图,您可以参考以下网址:https ://thebasictechinfo.com/java-8/pkixunable-to-find-valid-certification-path-to-requested -目标修复/
享受