Might be the problem with dependencies... Try to refresh the dependences...
Type.. gradlew build --refresh dependencies On Wed 8 Aug, 2018, 6:12 PM Thilina Prasad, <thilina.prasha...@gmail.com> wrote: > I try to configure and build Apche ofBiz latest version on my windows 10 > machine. when i run gradlew cleanAll loadDefault command it gave below > exception. I try to resolve it but I didn't found a way. Is there any way > to solve this please let me know. > > 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$1.run(URLClassLoader.java:372) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:360) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 1 more > :ofbiz --load-data FAILED > > Thank you! >