Problems with the installation of openmrs openmrs-api

Good morning everyone, I’m new to maven and I’m trying to install openmrs but I can not solve the following problem:

[INFO] Building openmrs-api 2.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/azeckoski/reflectutils/0.9.14/reflectutils-0.9.14.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/liquibase/ext/modify-column/2.0.2/modify-column-2.0.2.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/liquibase/ext/identity-insert/1.2.1/identity-insert-1.2.1.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/liquibase/ext/type-converter/1.0.1/type-converter-1.0.1.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenMRS … SUCCESS [ 4.514 s] [INFO] openmrs-tools … SUCCESS [ 1.787 s] [INFO] openmrs-test … SUCCESS [ 0.209 s] [INFO] openmrs-api … FAILURE [ 2.453 s] [INFO] openmrs-web … SKIPPED [INFO] openmrs-webapp … SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.739 s [INFO] Finished at: 2017-10-31T11:48:57-05:00 [INFO] Final Memory: 31M/279M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project openmrs-api: Could not resolve dependencies for project org.openmrs.api:openmrs-api:jar:2.2.0-SNAPSHOT: Failed to collect dependencies at org.azeckoski:reflectutils:jar:0.9.14: Failed to read artifact descriptor for org.azeckoski:reflectutils:jar:0.9.14: Could not transfer artifact org.azeckoski:reflectutils:pom:0.9.14 from/to openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.

could someone please help me fix it

1 Like

Upgrade to the latest version of Java to fix this problem. Certificate Issues with new Maven Repo?

3 Likes