Import wcm.core.components into my project | Community
Skip to main content
Level 2
March 3, 2022
Solved

Import wcm.core.components into my project

  • March 3, 2022
  • 2 replies
  • 2063 views

Hi all... I would like to make use of the core components (V 2.11.0) into my AEM project (V 6.5.4). I added the wcm components core, config and content dependencies into my poms and tried to extend the v1/container component, but I have the following error, "com.adobe.cq.wcm.core.components.models.LayoutContainer cannot be resolved to a type". I'm kind of lost here since my experience with AEM has been brief. Thanks in advance.

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 DEBAL_DAS

Definitely you are facing dependency issue here.

If we take a look into this document: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en , it gives an overview of the releases of the Core Components and their compatibility with AEM releases and Java versions.

 

Dependencies: In order to use the 2.11.0 release, as a minimum, you will need an AEM 6.5.5.0 or AEM 6.4.8.1.

That's why you are facing this issue.

 

I am using 2.17.14 with AEM 6.5.9 -

 

Hope this will help.

2 replies

Anish-Sinha
Adobe Employee
Adobe Employee
March 3, 2022

Hi @espinari , Can you navigate to /system/console/bundles and check if all bundles including core components bundles are active. If not try restarting you server and check if bundles are in active state.

December 9, 2023

Thanks anish!!

DEBAL_DAS
DEBAL_DASAccepted solution
New Member
March 4, 2022

Definitely you are facing dependency issue here.

If we take a look into this document: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/versions.html?lang=en , it gives an overview of the releases of the Core Components and their compatibility with AEM releases and Java versions.

 

Dependencies: In order to use the 2.11.0 release, as a minimum, you will need an AEM 6.5.5.0 or AEM 6.4.8.1.

That's why you are facing this issue.

 

I am using 2.17.14 with AEM 6.5.9 -

 

Hope this will help.

Debal Das, Senior AEM Consultant
JeevanRaj
Community Advisor
Community Advisor
March 5, 2022

I second what @debal_das is saying. Please do check the core component version compatibility with AEM version you are using.

 

Thanks