Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Problem creating new AEM proyect.

Avatar

Level 2

Hello Community im new to AEM Sites and i'm trying to start a project but i have some problems and i can't find the cause so i will show what i did.

 

As pre-requisites i have installed correct java ver and apache maven ver.

Captura de pantalla de 2023-06-22 13-45-29.png

 

To create a new project i create an empty forder and use the following command:

 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=42 \
-D appTitle="myWKND" \
-D appId="mywknd" \
-D groupId="com.adobe.aem.my.guides" \
-D artifactId="aem-myguides-wknd" \
-D package="com.adobe.aem.guides.mywknd" \
-D version="0.0.1-SNAPSHOT" \
-D aemVersion="6.5.7"

 

Then i move into the folder i created in this case cd /aem-myguides-wknd' and use the following command: 

mvn clean install -PautoInstallSinglePackage

 

After this i check the crxde packages console and the packages are installed

Captura de pantalla de 2023-06-22 13-24-24.png

Also when i go to AEM 'Sites' i can see the new site

 

Captura de pantalla de 2023-06-22 13-27-04.png

But if i try to edit the page its blank and not editable and if i click anything it shows me an error page.

 

Other thing i noticed is that if i go to the OSGI Bundle console i have some errors that may or not be the cause so i will show you.

 

Captura de pantalla de 2023-06-22 13-41-35.png

 Sincerelly i'm new and i don't know yet how bundles work, i might be missing a step, or maybe the initial mvn command is wrong so i hope someone can help :).

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The problem is that the Wknd site requires the Service Pack 13 at least, otherwise, those dependencies are not resolved. To fix your problem download the SP from here https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html?fulltext=service*... and install it manually.

 

Once you install the SP, click the "play" button from the bundle, (although usually is good to restart the server after a SP upgrade).

 

You can find more details under System Requirements in the official GitHub repo for wknd site: https://github.com/adobe/aem-guides-wknd



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @SantiagoAlba ,

 

What version of AEM are you using? Based on batch command I guess it's 6.5.7 in that case you should use below command in case of For AEM 6.5.x:

$ mvn clean install -PautoInstallSinglePackage -Pclassic

 If still you are facing issue install latest SP, that should solve your problem.

 

For more details refer: https://github.com/adobe/aem-guides-wknd

 

Hope that helps!

Regards,

Santosh

Avatar

Correct answer by
Community Advisor

The problem is that the Wknd site requires the Service Pack 13 at least, otherwise, those dependencies are not resolved. To fix your problem download the SP from here https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html?fulltext=service*... and install it manually.

 

Once you install the SP, click the "play" button from the bundle, (although usually is good to restart the server after a SP upgrade).

 

You can find more details under System Requirements in the official GitHub repo for wknd site: https://github.com/adobe/aem-guides-wknd



Esteban Bustamante