Page 1 of 1

Problem buildin Sample ecommerce project using Mave

Posted: Tue Dec 20, 2011 5:42 am
by avinash
Hi,

I am facing problems setting up the sample broadleaf application (ecommerce.zip) I followed the instructions provided in the following post http://www.broadleafcommerce.org/forum/viewtopic.php?f=9&t=375&p=1138&hilit=java.lang.ClassNotFoundException%3A+org.broadleafcommerce.profile.web.extensibility.MergeContextLoaderListener#p1141.

When I try to run the mvn install in eclipse it is showing the following error. I am quite new to Maven stuff and it would gr8 if some one could provide pointers to help me resolve the issue.

Cheers

Re: Problem buildin Sample ecommerce project using Mave

Posted: Wed Dec 21, 2011 6:47 am
by avinash
Also I am getting the following error when I import the ecommerce project into the Eclipse workspace.

12/21/11 4:59:51 PM IST: Build errors for site; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:exploded (default) on project site: Failed to copy file for artifact [com.mycompany:core:jar:0.0.1-SNAPSHOT:compile]

Would be gr8 if some could provide me pointers to resolve the above issues.

Thanks

Re: Problem buildin Sample ecommerce project using Mave

Posted: Wed Dec 21, 2011 10:18 am
by bpolster
Avinash,

I'd like to encourage you to try the new getting started instructions located at http://www.broadleafcommerce.org/confluence/display/BLC15/Getting+Started.

We've had several issues with the "ecommerce.zip" approach and have recently replaced this approach with a Maven archetype. You'll find step by step instructions for eclipse in the documentation above. Please start a new thread if you have issues as we will be archiving the ecommerce.zip related threads soon.

Thanks,

Re: Problem buildin Sample ecommerce project using Mave

Posted: Thu Dec 22, 2011 2:45 am
by avinash
Thanks Brian for the reply, I have actually downloaded the new ecommerce.zip form the following post http://www.broadleafcommerce.org/forum/viewtopic.php?f=9&t=362&start=10&hilit=ecommerce.zip and was able to successfully start the server.

But I would definitely like to try the new approch you have specified.

Thanks and Cheers,
Avinash