Jackrabbit Filter- Node is not contained in any of the filter rules | Community
Skip to main content
Mario248
Level 7
December 2, 2022
Solved

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

  • December 2, 2022
  • 2 replies
  • 6148 views

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>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

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
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 2, 2022
Mario248
Mario248Author
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 ?