I am trying the test some code that works on the sling repository.

I have problems getting the pax exam test working. I get the exception
below:

java.lang.AbstractMethodError:
org.apache.jackrabbit.core.XASessionImpl.getItemOrNull(Ljava/lang/String;)Ljavax/jcr/Item;
at 
org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory.getItemOrNull(JcrItemResourceFactory.java:184)

Full exception:
https://gist.github.com/cschneider/d01d087244dc0650b3751e99a70b6a72

This might be some incompatibility between the jackrabbit core bundle and
the sling bundles.
I use:
oak 1.7.6
jackrabbit 2.15.4

mavenBundle("org.apache.sling", "org.apache.sling.jcr.resource", "2.9.2"),

mavenBundle("org.apache.sling", "org.apache.sling.resourceresolver",
"1.5.22"),

mavenBundle("org.apache.sling", "org.apache.sling.serviceusermapper",
"1.2.4"),

Any idea what is wrong with my setup and which versions I should combine to
avoid this issue?

Christian

-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to