Login  Register

gradle build failed, can't install ofbiz

Posted by AJ.345 on May 14, 2021; 6:13pm
URL: http://ofbiz.116.s1.nabble.com/gradle-build-failed-can-t-install-ofbiz-tp4768830.html

Best Wishes...

I am trying to install OfBiz on Ubuntu 20.04.
and I am getting stuck in the step "gradle clearAll loadAll"
These are the steps I have followed.
I am not very advanced in my computer knowledge, hope you understand and
your help is gladly appreciated.

 
      *** downloaded and install java version as the read me file says.
 
  openjdk version "1.8.0_292"
  OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
  OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

      ***  and then downloaded and unzip the Apache OfBiz file from the
website.

      ***  then, downloaded and installed the ''gradle 6.8'
   ------------------------------------------------------------
   Gradle 6.8.3
   ------------------------------------------------------------

   Build time:   2021-02-22 16:13:28 UTC
   Revision:     9e26b4a9ebb910eaa1b8da8ff8575e514bc61c78

   Kotlin:       1.4.20
   Groovy:       2.5.12
   Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
   JVM:          1.8.0_282 (Private Build 25.282-b08)
   OS:           Linux 5.8.0-53-generic amd64

     *** then when typing the commands in the terminal "gradle clearAll
LoadAll" there is the error it says
        "Build Failed", with the following lines,
 
   

           FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'ofbiz'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1.
     Required by:
         project :
      > Could not resolve at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1.
         > Could not get resource
'https://repo.maven.apache.org/maven2/at/bxm/gradleplugins/gradle-svntools-plugin/2.2.1/gradle-svntools-plugin-2.2.1.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)
      > Could not resolve at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1.
         > Could not get resource
'https://plugins.gradle.org/m2/at/bxm/gradleplugins/gradle-svntools-plugin/2.2.1/gradle-svntools-plugin-2.2.1.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)
   > Could not resolve org.asciidoctor:asciidoctor-gradle-plugin:1.5.8.1.
     Required by:
         project :
      > Could not resolve org.asciidoctor:asciidoctor-gradle-plugin:1.5.8.1.
         > Could not get resource
'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.8.1/asciidoctor-gradle-plugin-1.5.8.1.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)
      > Could not resolve org.asciidoctor:asciidoctor-gradle-plugin:1.5.8.1.
         > Could not get resource
'https://plugins.gradle.org/m2/org/asciidoctor/asciidoctor-gradle-plugin/1.5.8.1/asciidoctor-gradle-plugin-1.5.8.1.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)
   > Could not resolve org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16.
     Required by:
         project :
      > Could not resolve org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16.
         > Could not get resource
'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.16/asciidoctorj-pdf-1.5.0-alpha.16.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)
      > Could not resolve org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16.
         > Could not get resource
'https://plugins.gradle.org/m2/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.16/asciidoctorj-pdf-1.5.0-alpha.16.pom'.
            > org.apache.http.ssl.SSLInitializationException:
/snap/gradle/78/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
(No such file or directory)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org


I have tried many ways, tried uninstalling and reinstalling gradle, with no
effect.
Thank you and hope for the best!





--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html