Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
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
Résolu ! Accéder à la solution.
Vues
Réponses
Nombre de J’aime
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]"/>
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]"/>
@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!
Vues
Réponses
Nombre de J’aime