Unable to load wknd project and core components with latest AEM and Project Archetype
Hello everyone,
I am new to the AEM ecosystem and have recently attempted to install AEM quick start with author and publish environments. Everything appears to be working fine and I am able to view the retail site.
I am currently following this link
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/project-setup.html?lang=en to set up my project. However, after generating AEM for the wknd project, I am encountering dependency issues with core components and wknd sites as indicated below:
com.adobe.aem.guides.wknd.core.filters,version=[1.0,2) from aem-guides-wknd.core (590)
com.adobe.aem.guides.wknd.core.listeners,version=[1.0,2) from aem-guides-wknd.core (590)
com.adobe.aem.guides.wknd.core.schedulers,version=[1.0,2) from aem-guides-wknd.core (590)
com.adobe.aem.guides.wknd.core.servlets,version=[1.0,2) from aem-guides-wknd.core (590)
com.day.cq.wcm.api,version=[1.29,2) -- Cannot be resolved
javax.annotation,version=0.0.0 from org.apache.geronimo.specs.geronimo-annotation_1.3_spec (2)
javax.servlet,version=[3.1,4) from org.apache.felix.http.servlet-api (52)
org.apache.sling.api,version=[2.3,3) from org.apache.sling.api (77)
org.apache.sling.api.request,version=[2.4,3) from org.apache.sling.api (77)
org.apache.sling.api.resource,version=[2.12,3) -- Cannot be resolved
org.apache.sling.api.resource.observation,version=[1.2,2) from org.apache.sling.api (77)
org.apache.sling.api.servlets,version=[2.3,3) -- Cannot be resolved
org.apache.sling.models.annotations,version=[1.5,2) from org.apache.sling.models.api (543)
org.apache.sling.models.annotations.injectorspecific,version=[1.1,2) from org.apache.sling.models.api (543)
org.slf4j,version=[1.7,2) from slf4j.api (7)
com.day.cq.wcm.api,version=[1.29,2) -- Cannot be resolved
org.apache.sling.api.resource,version=[2.12,3) -- Cannot be resolved
org.apache.sling.api.servlets,version=[2.3,3) -- Cannot be resolved
Java and mvn version
java ->
java 11.0.19 2023-04-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.19+9-LTS-224)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.19+9-LTS-224, mixed mode)
Maven
Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Generated project like
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=43 \
-D appTitle="WKND Sites Project" \
-D appId="wknd" \
-D groupId="com.adobe.aem.guides" \
-D artifactId="aem-guides-wknd" \
-D package="com.adobe.aem.guides.wknd" \
-D version="0.0.1-SNAPSHOT" \
-D aemVersion="6.5.17"
I could use some assistance in getting unblocked. Any help would be greatly appreciated.