Skip to content

Mis en ligne par admin - 24 décembre 2013 - Astuces Diverses

Resolve Ivy PKIX Validation Error in Liferay IDE

Disclaimer: this note is not finished yet.

When trying to compile, you may encounter some Ivy errors.

Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification

You should try to find a compatible repository:


<ivysettings>
  <settings defaultResolver="default" />

  <resolvers>
  <ibiblio m2compatible="true" name="opensaga" root="http://www.opensaga.org/maven/content/repositories/thirdparty/" />
    <ibiblio m2compatible="true" name="jboss-nexus" root="https://repository.jboss.org/nexus/content/repositories/releases" />
    <!--<ibiblio m2compatible="true" name="jboss-thirdparty" root="https://repository.jboss.org/nexus/content/repositories/thirdparty-releases" />-->
    <ibiblio m2compatible="true" name="maven2" root="http://repo1.maven.org/maven2" />
    <ibiblio m2compatible="true" name="ow2-public" root="http://repository.ow2.org/nexus/content/repositories/public" />
    <ibiblio m2compatible="true" name="primefaces" root="http://repository.primefaces.org" />

    <chain dual="true" name="default">
    <resolver ref="opensaga" />
      <resolver ref="jboss-nexus" />
      <!--<resolver ref="jboss-thirdparty" />-->
      <resolver ref="maven2" />
      <resolver ref="ow2-public" />
      <resolver ref="primefaces" />
    </chain>
  </resolvers>
</ivysettings>

Articles similaires

Les articles suivants abordent des thèmes communs.

Commentaires

Partagez vos remarques.

Il n'y a pas de commentaires pour cet article.

Add a Comment

Fill in the form and submit.