Build failure > Ofbiz 17.12.06 in Ubuntu 18.04.5 LTS; Build success > Ofbiz 17.12.06 Windows Server 2016
Posted by Sakthivel Vellingiri on
URL: http://ofbiz.116.s1.nabble.com/Build-failure-Ofbiz-17-12-06-in-Ubuntu-18-04-5-LTS-Build-success-Ofbiz-17-12-06-Windows-Server-2016-tp4767141.html
Greetings Ofbiz Framework Gurus - Ofbiz 17.12.06 seems to be failing to
build in Ubuntu 18.04.5 LTS (May be in other Linux flavors too), but
successful in Windows Server 2016, I even tried deleting the .gradle folder
but no luck. Anyone encountered this, any pointers are appreciated.
*OS Version : Ubuntu 18.04.5 LTS*
*Ofbiz Version - 17.12.06*
*Java Version - openjdk version "1.8.0_282"*
Trying to build Ofbiz using the command sudo ./gradlew cleanAll build and
run into the below error
AILURE: Build failed with an exception.
* Where:
Build file
'/home/clintu2/Downloads/git/integrin_enterprise/com/integrin/erp/erp-17.12.06/build.gradle'
line: 105
* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not find method metadataSources() for arguments
[build_scnfpn8htdompavhrlor7fcc$_run_closure3$_closure62$_closure66$_closure68@b798c6b]
on object of type
org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
*BUILD FAILED*
*OS Version : Windows Server 2016*
*Ofbiz Version - 17.12.06*
*Java Version - Oracle Java version "1.8.0_271"*
*Build is successful*