JCR Content using Jackrabbit with Moqui - no matching property definition found for {http://www.jcp.org/jcr/1.0}data):

Moqui Version : 3.0 Jackrabbit Version: jackrabbit-standalone-2.11.3.jar

I’m trying to use Jackrabbit for content with Moqui, I followed the /moqui/bin/runtime/jackrabbit/README.md guide and Jackrabbit is up and running as below

After the above setup, i’m trying to add a new Wiki Space under Hivemind Admin > Wiki Space to a JCR repository and selecting content://main/WikiSpace as the Root Page Directory
and getting the below error
Error running groovy script (javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.jcp.org/jcr/1.0}data):

** no matching property definition found for {http://www.jcp.org/jcr/1.0}data**

Can someone please help me understand why I’m encountering this error and how to resolve it? Any insights or guidance would be greatly appreciated. Thank you!

1 Like

I think runs Jackrabbit independently of moqui is better. You can run jackrabbit in webserver like tomcat, or run directly like java --illegal-access=deny -jar jackrabbit-standalone-2.20.10.jar with different port of Moqui (like 8081), then config in MoquiDefaulConf.xml:

       <repository name="main" workspace="default" username="admin" password="admin">
            <init-param name="org.apache.jackrabbit.repository.uri" value=""/>
        <repository name="main" workspace="default" username="admin" password="admin">
            <init-param name="org.apache.jackrabbit.spi2davex.uri" value=""/>

And no need enable JackrabbitRunToolFactory in Moqui
<tool-factory class="org.moqui.impl.tools.JackrabbitRunToolFactory" init-priority="40" disabled="true"/>

how to programmatically manage file versions, including creating new versions, retrieving older versions, and tracking version history.
Any recommendations or examples related to handling file versioning in Moqui would be greatly appreciated.

I’ve already explored the Moqui documentation but would appreciate any community insights, best practices, or code examples related to file versioning with Jackrabbit.

Thank you in advance for your help and guidance :slight_smile: