# build.gradle issue

**URL:** <https://discuss.gradle.org/t/build-gradle-issue/36448>\
**Category:** Buildship\
**Created:** [June 11, 2020, 3:08am UTC](https://discuss.gradle.org/t/build-gradle-issue/36448 "2020-06-11T03:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newsam202](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@newsam202](https://discuss.gradle.org/u/newsam202)\
**Post date:** [June 11, 2020, 3:08am UTC](https://discuss.gradle.org/t/build-gradle-issue/36448/1 "2020-06-11T03:08:03Z")

</div>

Hi,

I can’t proceeding Spring boot web + build.gradle setting…

please help me…

my config.

Tool

- IntelliJ 2020.1 Ultimate
- Spring Boot Web Project  
(Spring boot 2.3.0)
- OPENJDK : 9 version
- gradle : 6.3

I was tried…

1. cert site add([plugins.gradle.org](http://plugins.gradle.org)) -\> cacerts
2. intelliJ config file (idea64.exe.vmoptions) add options  
-Djavax.net.ssl.trustStore=“C:\java-se-9-ri\jdk-9\lib\security\cacerts”  
-Djavax.net.ssl.trustStorePassword=“changeit”  
-Dhttps.protocols=TLSv1.2
3. IntelliJ change Server Certificates option  
=\> check Accept non-trusted certificates automatically

What’s Wrong?  
**※ old build.gradle config is ok!**

build.gradle (new project from [spring.start.io](http://spring.start.io))

===================================================================  
plugins {  
id ‘org.springframework.boot’ version ‘2.3.0.RELEASE’  
id ‘io.spring.dependency-management’ version ‘1.0.9.RELEASE’  
id ‘java’  
}

group = ‘com.Community’  
version = ‘0.0.1-SNAPSHOT’  
sourceCompatibility = ‘1.8’

configurations {  
compileOnly {  
extendsFrom annotationProcessor  
}  
}

repositories {  
mavenCentral()  
}

dependencies {  
implementation ‘org.springframework.boot:spring-boot-starter-data-jpa’  
implementation ‘org.springframework.boot:spring-boot-starter-thymeleaf’  
implementation ‘org.springframework.boot:spring-boot-starter-web’  
compileOnly ‘org.projectlombok:lombok’  
developmentOnly ‘org.springframework.boot:spring-boot-devtools’  
runtimeOnly ‘com.h2database:h2’  
annotationProcessor ‘org.projectlombok:lombok’  
testImplementation(‘org.springframework.boot:spring-boot-starter-test’) {  
exclude group: ‘org.junit.vintage’, module: ‘junit-vintage-engine’  
}  
}

test {  
useJUnitPlatform()  
}

===================================================================

Gradle Import Error

**FAILURE: Build failed with an exception.**

\*\*\* What went wrong:\*\*  
**A problem occurred configuring root project ‘web’.**  
**\> Could not resolve all artifacts for configuration ‘:classpath’.**  
\*\* \> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.3.0.RELEASE.\*\*  
\*\* Required by:\*\*  
\*\* project : \> org.springframework.boot:org.springframework.boot.gradle.plugin:2.3.0.RELEASE\*\*  
\*\* \> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.3.0.RELEASE.\*\*  
\*\* \> Could not parse POM [https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-gradle-plugin/2.3.0.RELEASE/spring-boot-gradle-plugin-2.3.0.RELEASE.pom\*\*](https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-gradle-plugin/2.3.0.RELEASE/spring-boot-gradle-plugin-2.3.0.RELEASE.pom**)  
\*\* \> Could not resolve org.springframework.boot:spring-boot-dependencies:2.3.0.RELEASE.\*\*  
\*\* \> Could not resolve org.springframework.boot:spring-boot-dependencies:2.3.0.RELEASE.\*\*  
\*\* \> Could not get resource ‘[https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-dependencies/2.3.0.RELEASE/spring-boot-dependencies-2.3.0.RELEASE.pom](https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-dependencies/2.3.0.RELEASE/spring-boot-dependencies-2.3.0.RELEASE.pom)’.\*\*  
\*\* \> Could not GET ‘[https://repo.jfrog.org/artifactory/libs-release-bintray/org/springframework/boot/spring-boot-dependencies/2.3.0.RELEASE/spring-boot-dependencies-2.3.0.RELEASE.pom?referrer](https://repo.jfrog.org/artifactory/libs-release-bintray/org/springframework/boot/spring-boot-dependencies/2.3.0.RELEASE/spring-boot-dependencies-2.3.0.RELEASE.pom?referrer)’.\*\*  
\*\* \> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\*\*  
org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:141)\*\*  
\*\* at org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:117)\*\*  
\*\* at org.gradle.internal.resource.transport.http.HttpClientHelper.executeGetOrHead(HttpClientHelper.java:106)\*\*  
\*\* at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:97)\*\*  
\*\* … 240 more\*\*  
**Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target**  
\*\* … 255 more\*\*  
**Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target**  
\*\* … 255 more\*\*

\*\*\* Get more help at [https://help.gradle.org](https://help.gradle.org)\*\*

**BUILD FAILED in 5s**
