Page 1 of 1

Cannot import existing maven projects

Posted: Fri Sep 26, 2014 8:40 am
by stoan
Hi, Im follwing the getting started guide and I'm having an error on the step when I import existing maven projects, I get the following error
An internal error occurred during: "Importing Maven projects".
org.eclipse.wst.common.componentcore.internal.impl.ReferencedComponentXMIResourceImpl cannot be cast to org.eclipse.jpt.jpa.core.resource.xml.JpaXmlResource


I tried to Google it but the only info I could get was this but wasn't helpful

http://stackoverflow.com/questions/21442348/update-maven-project-internal-error-referencedcomponentxmiresourceimpl-cannot

Please help.

Re: Cannot import existing maven projects

Posted: Fri Sep 26, 2014 11:07 am
by phillipuniverse
1. What IDE are you using and what version of that IDE are you using
2. What OS are you using
3. What version of Broadleaf are you using

Re: Cannot import existing maven projects

Posted: Fri Sep 26, 2014 12:40 pm
by stoan
phillipuniverse wrote:1. What IDE are you using and what version of that IDE are you using
2. What OS are you using
3. What version of Broadleaf are you using


Hi Phillip

I'm using Eclipse Juno, I have tried on both Windows 7 and Linux Mint 17, I'm using Broadleaf 3.1

Re: Cannot import existing maven projects

Posted: Thu Oct 16, 2014 5:25 am
by stoan
Hi all

Can someone please assist me please? :(

Re: Cannot import existing maven projects

Posted: Tue Nov 04, 2014 5:37 pm
by phillipuniverse
Make sure that you are using a Java JDK and Maven 3.1+

Re: Cannot import existing maven projects

Posted: Thu Nov 06, 2014 3:00 am
by stoan
phillipuniverse wrote:Make sure that you are using a Java JDK and Maven 3.1+


I'm using was using Maven 3.0.4 which I will be updating to 3.1 as advised.

But currently I used a work around for anyone who might have an issue, do a mvn compile on the root of DemoSite folder then importing the project Eclipse.

I also upgraded to Eclipse Luna.