Hi Girish This is the resulting failure from running 'gradle gradlew' command.
C:\apache-ofbiz-17.12.07>gradle gradlew FAILURE: Build failed with an exception. * Where: Build file 'C:\apache-ofbiz-17.12.07\build.gradle' line: 105 * What went wrong: A problem occurred evaluating root project 'ofbiz'. > Could not find method metadataSources() for arguments > [build_87kry1wo6oq9n2cqpmtyx198q$_run_closure3$_closure62$_closure66$_closure68@3f9b7fe1] > on > org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository_Decorated@35d26ad2. * 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: 13.747 secs On 2021/05/07 07:24:42, James Brett <[email protected]> wrote: > Hi Girish > > Thanks for your reply. I'm sorry I should have mentioned, I am not a > developer so I don't quite understand. What is the command I should enter to > run 'gradlew'? > > Thanks again, > > James. > > On 2021/05/06 10:57:59, Girish Vasmatkar <[email protected]> > wrote: > > Hi James > > > > Since you're running "gradle", instead of "gradlew", chances are there is a > > version mismatch because gradlew will make sure to download the compatible > > gradle version to use for installation of OFBiz version in question. Using > > gradle will use the version that's on your "PATH" which may or may not be > > compatible. > > > > Could you please try with "gradlew" once? > > > > Best, > > Girish > > > > > > > > On Thu, May 6, 2021 at 3:58 PM James Brett <[email protected]> wrote: > > > > > Hi Jacques > > > > > > My apologies - I thought I had already subscribed. > > > > > > After I ran 'gradle init-gradle-wrapper' command (which failed), I ran > > > 'gradle --debug' which returned the errors in my original post. I am using > > > Windows 10. > > > > > > Thanks, > > > > > > James. > > > > > > On 2021/05/06 09:26:30, Jacques Le Roux <[email protected]> > > > wrote: > > > > Hi James, > > > > > > > > Your message has been moderated, else it would not have reached this > > > Mailing List. > > > > > > > > Please subscribe to the user ML for such questions and then use your > > > email client. > > > > See why here http://ofbiz.apache.org/mailing-lists.html. > > > > > > > > You will get a better support, people can answer you on the ML. > > > > The wider the audience the better the answers you might get. > > > > > > > > Also it's more work for moderators who have to accept your messages as > > > long as you have not subscribed. > > > > I'll personally no longer accept them (other moderators still could). > > > > > > > > Thanks > > > > > > > > This said, could you tell us more about what you exactly did after > > > init-gradle-wrapper? On what environment (OS) are you? > > > > > > > > Jacques > > > > > > > > Le 06/05/2021 à 10:50, James Brett a écrit : > > > > > Hi all > > > > > > > > > > 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$_closure66$_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. > > > > > > > > > > > > > >
