내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

Import wcm.core.components into my project

Avatar

Level 2

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.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

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=... , it gives an overview of the releases of the Core Components and their compatibility with AEM releases and Java versions.

 

DEBAL_DAS_0-1646366711254.png

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 -

DEBAL_DAS_1-1646366823515.png

 

Hope this will help.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Employee Advisor

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.

Avatar

Level 1

Thanks anish!!

Avatar

정확한 답변 작성자:
Employee Advisor

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=... , it gives an overview of the releases of the Core Components and their compatibility with AEM releases and Java versions.

 

DEBAL_DAS_0-1646366711254.png

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 -

DEBAL_DAS_1-1646366823515.png

 

Hope this will help.

Avatar

Community Advisor

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

 

Thanks