ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Sharma <aditya.sha...@hotwaxsystems.com>
Subject Re: Response 4: Installation of OFBiz for dummies on a laptop (10/10/2018)
Date Wed, 10 Oct 2018 11:54:38 GMT
Hi Andre,

Please refer following thread
<https://markmail.org/message/blo3m7dzr7yc5xpw>

As suggested by Taher

I am not sure bit I have a suspicion. Does your windows user folder have
> spaces like C:\Users\My User?
> If yes, this could very well be the problem. To overcome that, try to
> change the cache location with the --gradle-user-home flag or setting the
> GRADLE_USER_HOME environment variable. Set it to a new location that does
> not have spaces like C:\gradle_cache for example.
> The reason spaces are a problem is because the classpath is registered
> inside the jar file and does not allow for spaces (a Java thing).


The issue may be due to your username with space "Andre Potgieter".  If
your user's home directory name contains spaces, Gradle might not be able
to download/save the dependencies.

HTH

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Oct 10, 2018 at 4:42 PM Andre Potgieter <andre.potties@gmail.com>
wrote:

> To Whom It May Concern,
>
> Not sure what now?
>
> C:\Users\Andre
> Potgieter\Documents\apache-ofbiz-16.11.04\apache-ofbiz-16.11.04>gradlew
> loadDefault ofbiz
> :compileJava
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> :processResources
> :classes
> :jar
> :assemble
> :compileTestJava
> Download
> https://jcenter.bintray.com/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.pom
> Download
> https://jcenter.bintray.com/org/objenesis/objenesis/2.1/objenesis-2.1.pom
> Download
> https://jcenter.bintray.com/org/objenesis/objenesis-parent/2.1/objenesis-parent-2.1.pom
> Download
> https://jcenter.bintray.com/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar
> Download
> https://jcenter.bintray.com/org/objenesis/objenesis/2.1/objenesis-2.1.jar
> :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:381)
>         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_181\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 mins 33.953 secs
>
> C:\Users\Andre
> Potgieter\Documents\apache-ofbiz-16.11.04\apache-ofbiz-16.11.04>
>
>
>
> -----Original Message-----
> From: Aditya Sharma [mailto:aditya.sharma@hotwaxsystems.com]
> Sent: Wednesday, October 10, 2018 12:54
> To: user@ofbiz.apache.org
> Subject: Re: Response 3: Installation of OFBiz for dummies on a laptop
> (10/10/2018)
>
> Hi Andre,
>
> You can not send any attachment to the mailing list but you can upload an
> image to google drive & share the link here.
>
> https://commons.apache.org/mail-lists.html
>
> *Note:* please don't send patches or attachments to any of the mailing
> lists. Patches are best handled via the *Issue Tracking* system. Otherwise,
> please upload the file to a public server and include the URL in the mail.
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> <http://www.hotwaxsystems.com/>
> [image: https://www.linkedin.com/in/aditya-p-sharma/]
> <https://www.linkedin.com/in/aditya-p-sharma/>
>
>
> On Wed, Oct 10, 2018 at 4:04 PM Andre Potgieter <andre.potties@gmail.com>
> wrote:
>
> > *To Whom It May Concern,*
> >
> >
> >
> > I have downloaded and installed, jdk-11_windows-x64_bin, but got the
> below
> > error.
> >
> >
> >
> >
> >
> >
> >
> > *From:* Aditya Sharma [mailto:aditya.sharma@hotwaxsystems.com]
> > *Sent:* Wednesday, October 10, 2018 10:14
> > *To:* user@ofbiz.apache.org
> > *Subject:* Re: Response 2: Installation of OFBiz for dummies on a laptop
> > (10/10/2018)
> >
> >
> >
> > Hi Andre,
> >
> >
> >
> > Based on the images.
> >
> >
> >
> > Just change the current directory to one in which Apache OFBiz exist.
> >
> >
> >
> > In your case try
> >
> >
> >
> > cd Documents/apache-ofbiz-16.11.04/apache-ofbiz-16.11.04
> >
> >
> >
> > and then use
> >
> >
> >
> > gradlew loadDefault ofbiz
> >
> >
> >
> >
> >
> > HTH
> >
> >
> > Thanks and Regards,
> >
> >
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> >
> > *HotWax Commerce* <http://www.hotwax.co/> by *HotWax Systems*
> > <http://www.hotwaxsystems.com/>
> >
> > [image: Image removed by sender.
> > https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
> >
> >
> >
> >
> > On Wed, Oct 10, 2018 at 12:43 PM Andre Potgieter <
> andre.potties@gmail.com>
> > wrote:
> >
> > *Error! Filename not specified.*
> >
> > *Error! Filename not specified.*
> >
> >
> >
> > *From:* Andre Potgieter [mailto:andre.potties@gmail.com]
> > *Sent:* Wednesday, October 10, 2018 08:58
> > *To:* 'Aditya Sharma'; user@ofbiz.apache.org
> > *Cc:* andre.potties@gmail.com; dev@ofbiz.apache.org; 'Sanjay Yadav';
> > jacques.le.roux@les7arts.com
> > *Subject:* Response: Installation of OFBiz for dummies on a laptop
> > (10/10/2018)
> > *Importance:* High
> >
> >
> >
> > *Hi Aditya* (and others),
> >
> >
> >
> > Thank you for your response, much appreciated.
> >
> >
> >
> > The link you provided is the same one that I tried to follow by
> > downloading it and then after that I am lost in the installation process.
> >
> >
> >
> > It seems to install your software, one need to be an IT expert, which I
> am
> > not.
> >
> >
> >
> > Although this seems like a great option, probably the best, I will have
> to
> > look at something where us (non-it people) can install the software and
> use
> > it.
> >
> >
> >
> > Thank you for trying to assist.
> >
> >
> >
> > Kind Regards,
> >
> >
> >
> > André Potgieter
> >
> > +27 72 398 2375
> >
> >
> >
> >
> >
> >
> >
> > *From:* Aditya Sharma [mailto:aditya.sharma@hotwaxsystems.com]
> > *Sent:* Wednesday, October 10, 2018 06:46
> > *To:* user@ofbiz.apache.org
> > *Cc:* andre.potties@gmail.com
> > *Subject:* Re: Installation of OFBiz for dummies on a laptop
> >
> >
> >
> > Hi Andre,
> >
> >
> >
> > Welcome to the Apache OFBiz ecosystem.
> >
> >
> >
> > Refer this link <https://ofbiz.apache.org/business-users.html> to get
> > started.
> >
> >
> >
> > HTH
> >
> >
> > Thanks and Regards,
> >
> >
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> >
> > *HotWax Commerce* <http://www.hotwax.co/> by *HotWax Systems*
> > <http://www.hotwaxsystems.com/>
> >
> > *Error! Filename not specified.*
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
> >
> >
> >
> >
> > On Wed, Oct 10, 2018 at 12:22 AM Deepak Dixit <deepak.dixit@hotwax.co>
> > wrote:
> >
> > Looping in André
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> >
> >
> > On Wed, Oct 10, 2018 at 12:20 AM, Deepak Dixit <deepak.dixit@hotwax.co>
> > wrote:
> >
> > > Hi André
> > >
> > > Your email has been moderated, Please subscribe to the mailing list
> > > http://ofbiz.apache.org/mailing-lists.html
> > >
> > > Thanks & Regards
> > > --
> > > Deepak Dixit
> > >
> > >
> > > On Tue, Oct 9, 2018 at 7:53 PM, andre.potties@gmail.com <
> > > andre.potties@gmail.com> wrote:
> > >
> > >> To Whom It May Concern,
> > >>
> > >> I am not a developer and would like to test the software to be used
> in a
> > >> SME.
> > >>
> > >> I am use to an .exe file and struggle to figure out how do you install
> > >> the software to begin with;
> > >>
> > >> Do you have something to assist me on installing it on a Windows 10
> > >> laptop?
> > >>
> > >> Kind Regards,
> > >>
> > >> André
> > >>
> > >
> > >
> >
> >
> >
> > *Error! Filename not specified.*
> > <
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
> >
> >
> > Virus-free. www.avg.com
> > <
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
> >
> >
> >
> >
> >
>
>
> ---
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message