I was gradle'ng on the Raspberry Pi Zero as usual, and during a build, I had the following message:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
What the Fr*nch??!
If that happens to you, just re-install your JDK!
sudo apt-get update
sudo apt-get install openjdk-8-jdk-headless
This operation above also re-installs the required certificates.
And you're back on track.
No comments:
Post a Comment