https://jackrabbit.apache.org/oak/docs/construct.html does not work with
the current MongoDB or, more accurately, I can not get it to work with
my version of the code that was given there.
Exception in thread "main" java.lang.IllegalAccessError: tried to access
class org.apache.jackrabbit.stats.TimeSeriesAverage from class
org.apache.jackrabbit.oak.plugins.blob.BlobStoreStats
at
org.apache.jackrabbit.oak.plugins.blob.BlobStoreStats.getAvgTimeSeries(BlobStoreStats.java:200)
at
org.apache.jackrabbit.oak.plugins.blob.BlobStoreStats.<init>(BlobStoreStats.java:75)
at
org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.configureBlobStore(DocumentMK.java:1296)
at
org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.setBlobStore(DocumentMK.java:669)
at
org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.setMongoDB(DocumentMK.java:663)
at
org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.setMongoDB(DocumentMK.java:634)
at
org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.setMongoDB(DocumentMK.java:684)
at
com.artifact_software.communication.InitiateDatabase.getNodeStore(InitiateDatabase.java:109)
at
com.artifact_software.communication.InitiateDatabase.main(InitiateDatabase.java:29)
The example is missing imports and has no information about dependencies.
Does Jackrabbit work with the latest MongoDB?
<oakVersion>1.6.1</oakVersion>
<mongo-java-driver.version>3.4.2</mongo-java-driver.version>
are the versions from my Maven POM.
Is there a better place to look for getting started with MongoDB and Oak.
I have been using Jackrabbit for a few years and I like working with the
JCR model but now I want to move to Oak and MongoDB if possible.
Ron
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102