Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Project Setup Issue

Avatar

Level 3

Hi I am trying to setup aem project using eclipse but after selecting archetype and clicking on next select or create server window is not coming. Please refer below screenshots for reference.

akshaybhujbale_0-1655104598457.png

After click on next 

akshaybhujbale_1-1655104636054.png

@kumar_sunil @HImanshu_Jain_ @Arun_Patidar  Please help

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@akshaybhujbale Run above command as a elevated user or Run as Administrator or try excluding dispatcher module from build if you don't need that.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetyp...

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D artifactId="mysite" -D version="0.0.1-SNAPSHOT" -D aemVersion=6.5.13 -D frontendModule=none -D includeExamples=y -D includeDispatcherConfig=n -D includeErrorHandler=y

View solution in original post

9 Replies

Avatar

Level 3

Hi @Arun_Patidar 

tried using this command :

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D aemVersion=6.5.7 -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite"

 but getting this error 

akshaybhujbale_0-1655108577428.png

 

Avatar

Community Advisor

Try to comment your vhost file in dispatcher module and re-run it.

Avatar

Correct answer by
Community Advisor

@akshaybhujbale Run above command as a elevated user or Run as Administrator or try excluding dispatcher module from build if you don't need that.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetyp...

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D artifactId="mysite" -D version="0.0.1-SNAPSHOT" -D aemVersion=6.5.13 -D frontendModule=none -D includeExamples=y -D includeDispatcherConfig=n -D includeErrorHandler=y

Avatar

Level 2

Set your Node version to 12.16.2

NPM version 6.14.4

Java version: 11

 

Use the below to generate project.

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D appTitle="My Test Project" -D appId="my-test-project" -D groupId="com.my.test" -D frontendModule=general -D includeExamples=n -D aemVersion=6.5.9 -D includeErrorHandler=y -D archetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -D includeDispatcherConfig=n

For react or angular update frontendModule=react or angular!