Hello chhokershaab.com, pls write reply on top of thread instead of bottom. Please do not make the process of helping tedious.
Also a signature allows people to know whom they are interacting with. I am not sure about windows but getting OFBiz working on linux boxes is pretty straightforward. I am not saying it should be difficult on windows , but i just do not have experience there. regds Rajesh mallah (redgrape.tech) On Tue, Feb 19, 2019 at 12:14 PM [email protected] < [email protected]> wrote: > > > On 2019/02/19 06:04:14, Paul Foxworthy <[email protected]> wrote: > > Hi, > > > > As others have said, it appears Gradle is not downloading the > dependencies > > you need. > > > > org.apache.commons.cli.ParseException is nothing special, a class in the > > Apache Commons library. If you are missing that, you may be missing > plenty > > of other things as well. Perhaps there was a timeout while gradle was > > downloading dependencies, and perhaps your build computer can't connect > to > > the Internet at all at the moment - which is why the question about > proxies. > > > > Try this: > > > > gradlew build --refresh-dependencies > > > > (on Linux, ./gradlew build --refresh-dependencies). > > > > Gradle should download many dependencies. If that seems to work, try > > your gradlew > > cleanAll loadDefault again. > > > > Hope that helps. > > > > Paul Foxworthy > > > > On Tue, 19 Feb 2019 at 16:17, [email protected] < > > [email protected]> wrote: > > > > > > > > > > > On 2019/02/18 10:20:20, Michael Brohl <[email protected]> > wrote: > > > > Fix what? > > > > > > > > Are you behind a proxy? > > > > > > > > regards, > > > > > > > > Michael > > > > > > > > > > > > Am 18.02.19 um 10:07 schrieb [email protected]: > > > > > > > > > > On 2019/02/18 07:20:29, Michael Brohl <[email protected]> > > > wrote: > > > > >> It seems that the dependencies are not automatically downloaded > during > > > > >> the Gradle build. > > > > >> > > > > >> Do you have internet access from the machine running OFBiz? > > > > >> > > > > >> You may have to set up proxy settings if you are behind a proxy. > > > > >> > > > > >> Regards, > > > > >> > > > > >> Michael > > > > >> > > > > > could you please tell me how to fix this? > > > > > > > > > >> Am 18.02.19 um 07:24 schrieb [email protected]: > > > > >>> On 2019/02/15 13:04:56, Ashish Pandey < > > > [email protected]> wrote: > > > > >>>> Hii, > > > > >>>> > > > > >>>> Did you try setting environment variables for JAVA_HOME and > > > OFBIZ_HOME? > > > > >>>> > > > > >>>> https://www.mkyong.com/java/how-to-set-java_home-on-windows-10/ > > > > >>>> > > > > >>>> Follow the instructions in the above link: > > > > >>>> > > > > >>>> JAVA_HOME = C:\Program Files\Java\jdk1.8.0_151 > > > > >>>> > > > > >>>> OFBIZ_HOME = C:\apache-ofbiz-16.11.03 > > > > >>>> > > > > >>>> Make sure the bin folder is in the root of C:\Program > > > > >>>> Files\Java\jdk1.8.0_151. > > > > >>>> > > > > >>>> On Fri, Feb 15, 2019 at 3:47 PM [email protected] < > > > > >>>> [email protected]> wrote: > > > > >>>> > > > > >>>>> I am facing this issue during installation of the Apache Ofbiz > > > > >>>>> > > > > >>>>> > > > > >>>>> C:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault > > > > >>>>> :clean UP-TO-DATE > > > > >>>>> :cleanAnt > > > > >>>>> :cleanCatalina > > > > >>>>> :cleanData > > > > >>>>> :cleanDownloads > > > > >>>>> :cleanEclipseClasspath UP-TO-DATE > > > > >>>>> :cleanEclipseJdt UP-TO-DATE > > > > >>>>> :cleanEclipseProject UP-TO-DATE > > > > >>>>> :cleanEclipse UP-TO-DATE > > > > >>>>> :cleanFooterFiles > > > > >>>>> :cleanGradle > > > > >>>>> :cleanIndexes > > > > >>>>> :cleanLogs > > > > >>>>> :cleanOutput > > > > >>>>> :cleanTempfiles > > > > >>>>> :cleanUploads > > > > >>>>> :cleanXtra > > > > >>>>> :cleanAll > > > > >>>>> :compileJava > > > > >>>>> Note: Some input files use unchecked or unsafe operations. > > > > >>>>> Note: Recompile with -Xlint:unchecked for details. > > > > >>>>> :processResources > > > > >>>>> :classes > > > > >>>>> :jar > > > > >>>>> :assemble > > > > >>>>> :compileTestJava > > > > >>>>> :processTestResources UP-TO-DATE > > > > >>>>> :testClasses > > > > >>>>> :test > > > > >>>>> :check > > > > >>>>> :build > > > > >>>>> :ofbiz --load-data > > > > >>>>> Exception in thread "main" java.lang.NoClassDefFoundError: > > > > >>>>> org/apache/commons/cli/ParseException > > > > >>>>> at > org.apache.ofbiz.base.start.Start.main(Start.java:60) > > > > >>>>> Caused by: java.lang.ClassNotFoundException: > > > > >>>>> org.apache.commons.cli.ParseException > > > > >>>>> at > > > java.net.URLClassLoader.findClass(URLClassLoader.java:382) > > > > >>>>> at > java.lang.ClassLoader.loadClass(ClassLoader.java:424) > > > > >>>>> at > > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) > > > > >>>>> at > java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > > > >>>>> ... 1 more > > > > >>>>> :ofbiz --load-data FAILED > > > > >>>>> > > > > >>>>> FAILURE: Build failed with an exception. > > > > >>>>> > > > > >>>>> * What went wrong: > > > > >>>>> Execution failed for task ':ofbiz --load-data'. > > > > >>>>>> Process 'command 'C:\Program > > > Files\Java\jdk1.8.0_201\bin\java.exe'' > > > > >>>>> finished with non-zero exit value 1 > > > > >>>>> > > > > >>>>> * 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: 4 mins 13.648 secs > > > > >>>>> > > > > >>>>> i tried so many solutions but nothing happens! > > > > >>>>> please help! > > > > >>>>> > > > > >>>> -- > > > > >>>> Best Regards, > > > > >>>> Ashish Kumar Pandey > > > > >>>> HotWax Systems > > > > >>>> m: +91 9172388455 > > > > >>>> e: [email protected] > > > > >>> yeah, I have already set up the environment variable also... > still > > > facing the same issue! > > > > >>> > > > > > > > > no i m not using any kind of proxy!! > > > how to fix this load data failed error? > > > > > > > > > -- > > Coherent Software Australia Pty Ltd > > PO Box 2773 > > Cheltenham Vic 3192 > > Australia > > > > Phone: +61 3 9585 6788 > > Web: http://www.coherentsoftware.com.au/ > > Email: [email protected] > > > i tried now showing this > > C:\apache-ofbiz-16.11.01>gradlew build --refresh-dependencies > POM relocation to an other version number is not fully supported in Gradle > : xml-apis#xml-apis;2.0.2 relocated to xml-apis#xml-apis;1.0.b2. > Please update your dependency to directly use the correct version > 'xml-apis#xml-apis;1.0.b2'. > Resolution will only pick dependencies of the relocated element. > Artifacts and other metadata will be ignored. > :compileJava UP-TO-DATE > :processResources UP-TO-DATE > :classes UP-TO-DATE > :jar UP-TO-DATE > :assemble UP-TO-DATE > :compileTestJava UP-TO-DATE > :processTestResources UP-TO-DATE > :testClasses UP-TO-DATE > :test UP-TO-DATE > :check UP-TO-DATE > :build UP-TO-DATE > > BUILD SUCCESSFUL > > still facing the same issue when i run gradlew cleanAll loadDefault again! > :( > i don't know what to do now! > HELP!!! > >
