Jackrabbit Filter- Node is not contained in any of the filter rules | Adobe Higher Education
Skip to main content
Mario248
Level 7
December 2, 2022
해결됨

Jackrabbit Filter- Node is not contained in any of the filter rules

  • December 2, 2022
  • 2 답변들
  • 6152 조회

I am trying to build a workflow model in AEMaaCS but it failed to build the code with below errors, but the same is working in my local AEM SDK without having any error. 

 

13:40:53,455 [main] [ERROR] ValidationViolation: "jackrabbit-filter: Node '/conf/global/settings/models' is not contained in any of the filter rules", filePath=jcr_root/conf/global/settings/models/.content.xml

 

Below is my filter.xml

 
<?xml version="1.0" encoding="UTF-8"?> <workspaceFilter version="1.0"> <filter root="/conf/global/settings/workflow" mode="merge"/> <filter root="/var/workflow/models" mode="merge"/> </workspaceFilter>
이 주제는 답변이 닫혔습니다.

2 답변

Level 4
December 2, 2022

Hi @mario248

It is because of the jackrabbit version issue, could you please update the dependency of the jackrabbit validator in the pom and try to built it, that should resolve the issue.

https://issues.apache.org/jira/browse/JCRVLT-489

Please refer above thread for more information.

arunpatidar
Community Advisor
Community Advisor
December 2, 2022
Mario248
Mario248작성자
Level 7
December 2, 2022

Resolved all error after adding below config in filevault-package-maven-plugin artifactId

 

<filters>
<filter><root>/conf</root></filter>
</filters>
 

Could you please check if https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jackrabbit-emptyelements-found-empty-node/td-p/561243 this is related to any dependency settings ?