Expand my Community achievements bar.

SOLVED

AEM Maven Archtype in Eclipse - Sample Project 7 not going to next window

Avatar

Level 4

Hello,

I am trying to create a new project based on the AEM Archetype. 

I select: com.adobe.granite.archetypes : sample-project-archtype: 7

When I click the 'Next' button, nothing happens. I can click 'next' again, and it will change the tile of the window to 'Select or Create server', but it still has the archtype selection dropdown visible.

I've gone as far as deleting the plugin, and re-adding it. Removing the archetype and re-adding it. and even Re-installing eclipse.

Anyone else having this issue?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

I had been having the same problem. I followed the suggestions above and they didn't work for me. I eventually ran the maven archetype from the command line in my eclipse workspace directory and generated a project (which I then trashed). After doing this, the AEM project wizard completed successfully.

mvn archetype:generate  -DarchetypeGroupId=com.adobe.granite.archetypes  -DarchetypeArtifactId=sample-project-archetype  -DarchetypeVersion=7

View solution in original post

7 Replies

Avatar

Level 9

Can you please configure your eclipse with the image I attached

In item 3 add following url

http://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml

[img]archetypes.jpg[/img]

Avatar

Correct answer by
Former Community Member

I had been having the same problem. I followed the suggestions above and they didn't work for me. I eventually ran the maven archetype from the command line in my eclipse workspace directory and generated a project (which I then trashed). After doing this, the AEM project wizard completed successfully.

mvn archetype:generate  -DarchetypeGroupId=com.adobe.granite.archetypes  -DarchetypeArtifactId=sample-project-archetype  -DarchetypeVersion=7

Avatar

Level 4

This works. I do not know why this works, maybe some Maven dependency issues?

Thanks.

Avatar

Level 4

Mshajiahmed wrote...

Can you please configure your eclipse with the image I attached

In item 3 add following url

http://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml

 

Thanks for the reply. Unfortunately this did not work. I already have the archetype added by using the AEM Eclipse plugin so I removed and tried the method you mentioned. It does the same thing.

Following this guide: http://docs.adobe.com/content/docs/en/dev-tools/aem-eclipse.html I cannot get to step 4. I push the next button but nothing happens.

Avatar

Level 2

I tried following the steps mentioned by Denise Ketcham in the "Accepted Answer". Still I am not able to go ahead with it.

I was facing some issue downloading the sample project from maven command line. So I downloaded sample-project-archetype-7.jar and other related files from https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/archetypes/sample-project-arche... and kept to my local repository at .m2\repository\org\apache\maven\archetypes\sample-project-archetype\7.0.

Can you please help getting out of it.

Avatar

Level 10

Try downloading the archetype-cataglog.xml and create a local archetype. refer [1]

[1] http://adobeaemclub.com/configuring-aem-maven-archetype-for-eclipse-plugin/

If it still doesnt work, try to create a AEM project outside your office network as sometime, proxy configuration would be needed

Avatar

Level 1

RonnieForum wrote...

I tried following the steps mentioned by Denise Ketcham in the "Accepted Answer". Still I am not able to go ahead with it.

I was facing some issue downloading the sample project from maven command line. So I downloaded sample-project-archetype-7.jar and other related files from https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/archetypes/sample-project-arche... and kept to my local repository at .m2\repository\org\apache\maven\archetypes\sample-project-archetype\7.0.

Can you please help getting out of it.

 

 

Do you have any entries in the Eclipse error log related to this?

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----