Hi Aavin,

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,

16.11.05 is no longer supported and not recommended.

It was then "gradlew loadAll" not "gradlew loadDefault" (only since R18)

You may also try <<gradlew --no-daemon "ofbiz --load-data">> which (IIRW) 
always works

Jacques

Le 09/06/2021 à 08:58, Aavin Erode IT Section a écrit :
Hi all  Friends I am new to OFBIZ I try to install OFBIZ 16.11.05 I get the
following issue  help to resolve it pl

C:\OFBIZ>gradlew loadDefault
: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
: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:418)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
         ... 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_291\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: 12.152 secs

Reply via email to