|
Dear all,
I try to install OFBiz 16.11.01 on Windows 7 Ultimate SP1 with Java SDK 8
update 121 (64-bit) and here is the report:
F:\ofbiz>gradlew cleanAll loadDefault ofbiz
:clean
: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/cl
i/ParseException :ofbiz --load-data
at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.
ParseExcepti
on
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
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_121\bin\java.exe''
finished w
ith 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: 5 mins 10.628 secs
F:\ofbiz>
Would you please help me to solve this out?
Regards,
Konsultan OFBiz
|