Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

aem 6.5.21 custom index

Avatar

Level 4

Hi,

 

AEM version: 6.5.21

 

I tried to follow documentation at https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/index...

to create a custom index for dam:AssetContent and use FileVault verion 1.3.2 , 1.4.0 but app build is failing with below error.[Project Configuration section talks about updating file vault plugin version to >= 1.3.2]

 

 

 

 

 

[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.4.0:validate-package (default-validate-package) on project site-web-apps: Execution default-validate-package of goal org.apache.jackrabbit:filevault-package-maven-plugin:1.4.0:validate-package failed: Exception in validator 'jackrabbit-nodetypes' while validating file 'apps/site-web/components/content/accordion/_cq_editConfig.xml' (line 6, column 41): Could not create node type information for path '/apps/site-web/components/content/accordion/cq:editConfig': Invalid node name 'cq:editConfig': cq: is not a registered namespace prefix. -> [Help 1]

 

 

 

 

Any help is appreciated. Is above documentation only for cloud or is it ok If I follow above steps for aem 6.5.21 as well.

FYI: Above component exists from day one and there was no issue earlier, this seems to be issue with above filevault versions.

 

Thanks,

Sree

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sreedobe 

Please check the namespaces in the xml file : 

apps/site-web/components/content/accordion/_cq_editConfig.xml

 

Example

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root
    xmlns:cq="http://www.day.com/jcr/cq/1.0"
    xmlns:jcr="http://www.jcp.org/jcr/1.0"
    jcr:primaryType="cq:EditConfig"
    cq:actions="[edit,delete,insert]"/>

 

Arun Patidar

AEM LinksLinkedIn

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @sreedobe 

Please check the namespaces in the xml file : 

apps/site-web/components/content/accordion/_cq_editConfig.xml

 

Example

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root
    xmlns:cq="http://www.day.com/jcr/cq/1.0"
    xmlns:jcr="http://www.jcp.org/jcr/1.0"
    jcr:primaryType="cq:EditConfig"
    cq:actions="[edit,delete,insert]"/>

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Administrator

@sreedobe Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni