Hi James, If you google gradle-wrapper.jar online, you will see plenty information about Gradle and downloading the .jar file.
Thanks Katie -----Original Message----- From: James Brett [mailto:jbrett.m...@gmail.com] Sent: Monday, May 10, 2021 2:43 AM To: user@ofbiz.apache.org Subject: Re: RE: BUILD FAILED Hi Katie Thanks for your help. Can you be more specific - Where do I get the gradle-wrapper.jar file from? I realised that I was using an outdated version of gradle and have since updated to v6.9. The build appeared to make more progress than previous but has still failed with the following result: Gradle 6.9 ------------------------------------------------------------ Build time: 2021-05-07 07:28:53 UTC Revision: afe2e24ababc7b0213ccffff44970aa18035fc0e 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_292 (AdoptOpenJDK 25.292-b10) OS: Windows 10 10.0 amd64 C:\Users\jbret>cd C:\apache-ofbiz-17.12.07 C:\apache-ofbiz-17.12.07>gradle init-gradle-wrapper FAILURE: Build failed with an exception. * What went wrong: Task 'init-gradle-wrapper' not found in root project 'ofbiz'. * Try: Run gradle tasks to get a list of available tasks. 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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2m 49s On 2021/05/10 06:35:54, "Katie Qiu" <katie_...@polluniverse.com> wrote: > Hi James, > > You need to install gradle-wrapper.jar file and put it in the folder > at project folder -> gradle -> wrapper > > Thanks > Katie > > -----Original Message----- > From: James Brett [mailto:jbrett.m...@gmail.com] > Sent: Sunday, May 09, 2021 11:27 PM > To: user@ofbiz.apache.org > Subject: Re: BUILD FAILED > > Hi Girish > > Thank you for your reply. Gradlew doesn't seem to work either and returns the > following: > > C:\Users\jbret\Downloads\apache-ofbiz-17.12.07\apache-ofbiz-17.12.07>g > radlew init-gradle-wrapper > Error: Could not find or load main class > org.gradle.wrapper.GradleWrapperMain > > C:\Users\jbret\Downloads\apache-ofbiz-17.12.07\apache-ofbiz-17.12.07>g > radlew gradlew > Error: Could not find or load main class > org.gradle.wrapper.GradleWrapperMain > > On 2021/05/07 10:51:17, Girish Vasmatkar <girish.vasmat...@hotwaxsystems.com> > wrote: > > "gradle gradlew'" does nothing. > > > > Please use *gradlew* instead of *gradle*. > > > > *gradle* command will use the version that is found on your PATH and > > chances of mismatch exists. > > > > Best Regards, > > Girish > > > > On Fri, May 7, 2021 at 1:41 PM Ingo Wolfmayr > > <ingo.wolfm...@wolfix.at> > > wrote: > > > > > Hi James, > > > > > > I asume your gradle version is not up to date. Can you go into > > > your Ofbiz installation directory look for the hidden .gradle > > > folder and let us know if you see the folder "4.5.1". If not, > > > delete the content of the folder, build Ofbiz and check again. > > > > > > Best regards > > > Ingo > > > > > > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: James Brett <jbrett.m...@gmail.com> > > > Gesendet: Donnerstag, 6. Mai 2021 10:50 > > > An: user@ofbiz.apache.org > > > Betreff: BUILD FAILED > > > > > > Hi allcd . > > > > > > I need some help installing ofbiz. After running the gradle > > > init-gradle-wrapper command receive the following. Your help is > > > greatly > > > appreciated!: > > > > > > 20:48:24.713 [ERROR] [org.gradle.BuildExceptionReporter] > > > 20:48:24.720 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: > > > Build failed with an exception. > > > 20:48:24.729 [ERROR] [org.gradle.BuildExceptionReporter] > > > 20:48:24.735 [ERROR] [org.gradle.BuildExceptionReporter] * Where: > > > 20:48:24.741 [ERROR] [org.gradle.BuildExceptionReporter] Build > > > file 'C:\apache-ofbiz-17.12.07\build.gradle' line: 105 > > > 20:48:24.747 [ERROR] [org.gradle.BuildExceptionReporter] > > > 20:48:24.754 [ERROR] [org.gradle.BuildExceptionReporter] * What went > > > wrong: > > > 20:48:24.762 [ERROR] [org.gradle.BuildExceptionReporter] A problem > > > occurred evaluating root project 'ofbiz'. > > > 20:48:24.768 [ERROR] [org.gradle.BuildExceptionReporter] > Could > > > not find method metadataSources() for arguments > > > [build_87kry1wo6oq9n2cqpmtyx198q$_run_closure3$_closure62$_closure > > > 66 > > > $_closure68@a85644c] > > > on > > > org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository_Decorated@40ce9049. > > > 20:48:24.777 [ERROR] [org.gradle.BuildExceptionReporter] > > > 20:48:24.784 [ERROR] [org.gradle.BuildExceptionReporter] * Try: > > > 20:48:24.791 [ERROR] [org.gradle.BuildExceptionReporter] Run with > > > --stacktrace option to get the stack trace. > > > > > > >