0

Recently Maven has stopped downloading dependencies. its suggested to use https: . So i changed all http urls to https in the settings.xml file. But after that on maven clean and install .It shows the following error

(https://repo1.maven.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Jagadesh
  • 2,104
  • 1
  • 16
  • 28
kvm363
  • 21
  • 5

1 Answers1

0

If you are behind any proxy, Please configure proxy in settings.xml

  <proxies>
    <proxy>
      <id>proxy</id>
      <active>true</active>
      <protocol>your_protocol</protocol>
      <host>your_host</host>
      <port>your_port</port>
    </proxy>

  </proxies>
Jagadesh
  • 2,104
  • 1
  • 16
  • 28