WKND tutorial core components package not compatible with AEM 6.5 | Community
Skip to main content
January 21, 2022
Solved

WKND tutorial core components package not compatible with AEM 6.5

  • January 21, 2022
  • 2 replies
  • 2171 views

I used the latest archetype for the WKND component (version=35).

This uses newer version of wcm.components.core (2.17.12), unlike my AEM instance which uses lower version of wcm.components.core (2.3.2).

When, generating and installing with maven, there is an error for the api bundle: com.day.cq.wcm.api,version=[1.28,2) -- Cannot be resolved

From here, the "en.html" page is empty and no components are available to insert. This is because of another error which states:

com.adobe.cq.wcm.core.components.models.Page cannot be resolved to a type

Does anyone have a solution to this? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @ginovski, to solve the issue you need to pick up one of below solutions:

  1. Upgrade your AEM instance by installing Service Pack 7 or higher, this is according to system requirements for archetype version 35 - https://github.com/adobe/aem-project-archetype#system-requirements
    You can download service packs from software distribution service https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html
  2. Generate your project using older version of archetype, you can find detailed compatibility matrix that is presenting which archetype version supports which AEM version under this link https://github.com/adobe/aem-project-archetype/blob/develop/VERSIONS.md
  3. Last option is to manually change version of core components you are using in your project according to following document https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en#release-history-requirements, please keep in mind that changing the version number could not be enough and maybe you will need to align version of other dependencies as well.

2 replies

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
January 21, 2022

Hi @ginovski, to solve the issue you need to pick up one of below solutions:

  1. Upgrade your AEM instance by installing Service Pack 7 or higher, this is according to system requirements for archetype version 35 - https://github.com/adobe/aem-project-archetype#system-requirements
    You can download service packs from software distribution service https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html
  2. Generate your project using older version of archetype, you can find detailed compatibility matrix that is presenting which archetype version supports which AEM version under this link https://github.com/adobe/aem-project-archetype/blob/develop/VERSIONS.md
  3. Last option is to manually change version of core components you are using in your project according to following document https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en#release-history-requirements, please keep in mind that changing the version number could not be enough and maybe you will need to align version of other dependencies as well.
GinovskiAuthor
January 24, 2022

Thank you, resolved.

Asutosh_Jena_
Community Advisor
Community Advisor
January 22, 2022

Hi @ginovski 

 

You need to install the latest service pack on your AEM 6.5 instance. As of today the latest Service Pack available is AEM 6.5.11.0 [1].

 

Download and install the latest service pack and it should resolve the issue with Archetype 35. After that all the pages will render perfectly fine!

 

[1]. https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/release-notes.html

 

Thanks!