0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Eclipse マーケットプレースでSunCertPathBuilderExceptionが発生したときの対処

Last updated at Posted at 2025-03-26

「Copilot for Eclipse」のパブリックプレビュー公開が公開されているとの記事を読んだので自分の環境にも導入しようとしたが、素のEclipseではなくPleiades All in Oneを使っているせいなのか、あるいはネットワーク環境が邪魔しているのか、すんなりとはインストールできなかった。

Copilot for Eclipseだけに限らず他の拡張機能を導入しようとした際にも、Eclipse マーケットプレースで「インストール」ボタンを押下した際に必ずエラーが発生した。

発生したエラーは下記のとおり。

https://~~~のリポジトリーを読み取ることができません。
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification > path to requested target

対処方法として、「eclipse.ini」の末尾に下記の行を追記することで解決した。
-Djavax.net.ssl.trustStoreType=Windows-ROOT

参考記事:
https://stackoverflow.com/questions/76237322/pkix-sun-certification-issues-with-eclipse

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?