Skip to main content
sreedobe
Level 4
Mar 17, 2025 11:10 PM UTC
Solved

aem 6.5.21 custom index

Hi,

 

AEM version: 6.5.21

 

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

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

arunpatidar
arunpatidarAccepted solution
Community Advisor
Mar 18, 2025 7:49 AM UTC

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

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
Mar 18, 2025 7:49 AM UTC

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]"/>

 

Translate
Arun Patidar
kautuk_sahni
Level 9
Apr 10, 2025 11:55 AM UTC

@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!

Translate
Kautuk Sahni