Closed KnowledgeGarden closed 6 years ago
Which JVM are you using? The error can happen on outdated JVMs due to missing ca certificates.
1.8.0_77-b03 on OS X El Capitan 10.11.6
Yes, that's too old. Update to the latest version and the error should be fixed.
Interesting: my mac says I have 171, but java -version says 077. Looking into why that's the case.
Updated JVM solved it. Thanks!
Here's the error message -- compiling on MacBook Pro: Failed to execute goal on project mesh-vertx-example: Could not resolve dependencies for project com.gentics:mesh-vertx-example:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.gentics.mesh:mesh-rest-client:jar:0.9.27: Failed to read artifact descriptor for com.gentics.mesh:mesh-rest-client:jar:0.9.27: Could not transfer artifact com.gentics.mesh:mesh-rest-client:pom:0.9.27 from/to maven.gentics.com (https://maven.gentics.com/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Among the many comments on this issue is the notion of hand downloading the website's cert and installing it locally. Is there an easier fix?