title: Java spring boot starter-thymeleaf - unable to find valid certification path to requested target
body: <p>I am a beginner in springboot. I'm trying to use thymeleaf and html to display the text on localhost8080. After trying to download dependencies in maven:</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;
          &lt;version&gt;1.5.10.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I get this message:</p>
  
  <blockquote>
    <p>Failed to read artifact descriptor for org.springframework.boot: spring-boot-starter-thymeleaf: jar: 1.5.10.RELEASE</p>
  </blockquote>
  
  <p>in the folder:</p>
  
  <blockquote>
    <p>"C: \ Users \ myUser \ .m2 \ repository \ org \ Spring Framework \ boot \ spring-boot-primer-thymeleaf \ 1.5.10.RELEASE"</p>
  </blockquote>
  
  <p>there is a file: </p>
  
  <blockquote>
    <p>spring-boot-primer-thymeleaf-1.5.10.RELEASE.pom.lastUpdated</p>
  </blockquote>
  
  <p>with the content:</p>
  
  <blockquote>
    <h1>NOTE: This is an Aether internal implementation file, its format can be changed without prior notice. #Sat Mar 03 08:48:15 CET 2018 @default-central- ttps://repo.maven.apache.org/maven2/.lastUpdated=1520063295482 https://repo.maven.apache.org/maven2/.error=Could not transfer artifact org.springframework.boot:spring-boot-starter-thymeleaf:pom:1.5.10.RELEASE from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</h1>
  </blockquote>
  
  <p>other dependencies such as spring-boot-starter-web or guava work correctly. Problem is the same for 2.0.0.REALESE and others. I will be grateful for any advice.</p>
  
  <p>and my pom.xml </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>http://maven.apache.org/xsd/maven-4.0.0.xsd"></p>
  
  <pre><code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;AKBootCamp8&lt;/groupId&gt;
  &lt;artifactId&gt;kwejk&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.5.10.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;version&gt;1.5.10.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>