scala-clippy
                                
                                
                                
                                    scala-clippy copied to clipboard
                            
                            
                            
                        Unable to load/store local Clippy advice: sun.security.validator.ValidatorException
When using Clippy on my Mac I encountered an exception like below:
[info] Unable to load/store local Clippy advice due to: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
The JVM information is:
$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I believe the root cause is not Clippy's since it works fine on another computer of mine (which is running on Linux with Java 8 and the same Clippy global settings). Unfortunately I really don't know how to add the certification correctly after googling. Can you provide some hints?
I also noticed another issue regarding Clippy advice #49 but that seems different.
I also have this problem using the following jdk version on FreeBSD 11:
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
I circumvented it by using the InstallCert.java "trick" e.g. downloading and adding the certificate to the cacerts of the openjdk.