Closed andrijaperovic closed 4 years ago
This happens when running the following command inside of jetty-servlet4-http2 directory: gradle clean build installDist distZip --debug
ok. thanks. I'll take a look soon.
Unfortunately I can't reproduce this issue. My setup is:
gradle -version
Build time: 2020-03-24 19:52:07 UTC Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60
Kotlin: 1.3.70 Groovy: 2.5.10 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 11.0.6 (AdoptOpenJDK 11.0.6+10) OS: Linux 5.3.0-45-generic amd64
java -version openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
cd jetty-servlet4-http2 gradle clean build installDist distZip --debug
gradle build runs as expected. unfortunately I ran out of ideas what could be wrong.
unable to reproduce and spring examples are moved into new repository https://github.com/jveverka/spring-examples
2020-03-25T11:42:07.218-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':spring-jcasbin'. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all artifacts for configuration ':spring-jcasbin:classpath'. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by: 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :spring-jcasbin > org.springframework.boot:org.springframework.boot.gradle.plugin:2.2.5.RELEASE 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not parse POM https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-gradle-plugin/2.2.5.RELEASE/spring-boot-gradle-plugin-2.2.5.RELEASE.pom 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-tools:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-tools:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not parse POM https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-tools/2.2.5.RELEASE/spring-boot-tools-2.2.5.RELEASE.pom 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-parent:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-parent:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not parse POM https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-parent/2.2.5.RELEASE/spring-boot-parent-2.2.5.RELEASE.pom 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-dependencies:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.springframework.boot:spring-boot-dependencies:2.2.5.RELEASE. 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not parse POM https://plugins.gradle.org/m2/org/springframework/boot/spring-boot-dependencies/2.2.5.RELEASE/spring-boot-dependencies-2.2.5.RELEASE.pom 2020-03-25T11:42:07.219-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve io.rsocket:rsocket-bom:1.0.0-RC6. 2020-03-25T11:42:07.220-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve io.rsocket:rsocket-bom:1.0.0-RC6. 2020-03-25T11:42:07.220-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not get resource 'https://plugins.gradle.org/m2/io/rsocket/rsocket-bom/1.0.0-RC6/rsocket-bom-1.0.0-RC6.module'. 2020-03-25T11:42:07.220-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not GET 'https://repo.jfrog.org/artifactory/libs-release-bintray/io/rsocket/rsocket-bom/1.0.0-RC6/rsocket-bom-1.0.0-RC6.module?referrer'. 2020-03-25T11:42:07.220-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Gradle version:
Gradle 6.3
Build time: 2020-03-24 19:52:07 UTC Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60
Kotlin: 1.3.70 Groovy: 2.5.10 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 11.0.6 (AdoptOpenJDK 11.0.6+10) OS: Mac OS X 10.15.3 x86_64
Java version:
java --version master@a74e949 ✘ openjdk 11.0.6 2020-01-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)