[ https://issues.apache.org/jira/browse/OFBIZ-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256916#comment-17256916 ]
Aditya Sharma commented on OFBIZ-12100: --------------------------------------- Thanks Deepak I can regenerate it too. Not sure about the permanent fix but if it is a blocker for someone, using mavenCentral() for fetching dependencies can be a temporary arrangement till it is fixed OOTB. [https://docs.gradle.org/current/userguide/declaring_repositories.html#sub:maven_central] Just add mavenCentral() before jcenter() for repositories [https://github.com/apache/ofbiz-framework/blob/release17.12/build.gradle#L81] > Gradle build of 17.12.04 crashes on Centos 8 > -------------------------------------------- > > Key: OFBIZ-12100 > URL: https://issues.apache.org/jira/browse/OFBIZ-12100 > Project: OFBiz > Issue Type: Bug > Affects Versions: 17.12.04 > Environment: CentOS 8 > OpenJDK 1.8 > Reporter: Alexander Tzvetanov > Assignee: Deepak Dixit > Priority: Major > > Running gradlew under Centos8 with OpenJDK 1.8 (built in). > ./gradlew cleanAll loadDefault > FAILURE: Build failed with an exception. > * Where: > Build file '/home/midax/sigma/Sigma17/build.gradle' line: 1096 > * What went wrong: > A problem occurred evaluating root project 'ofbiz'. > > Could not resolve all dependencies for configuration ':runtime'. > > Could not determine artifacts for javax.ws.rs:javax.ws.rs-api:2.1.1 > > Could not get resource > 'https://jcenter.bintray.com/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.$%7Bpackaging.type%7D'. > > Could not HEAD > 'https://jcenter.bintray.com/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.$%7Bpackaging.type%7D'. > Received status code 400 from server: Bad Request > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > BUILD FAILED > Total time: 3.747 secs -- This message was sent by Atlassian Jira (v8.3.4#803005)