https://groups.google.com/d/msg/pellet-users/KPw6UO7b3-4/XVKVK8uZHIQJ

is reported to work

Various other incompatibilities with 2.13.0 which don't look to hard to fix in Pellet.

        Andy

On 25/04/15 18:20, Andy Seaborne wrote:
On 25/04/15 17:57, Dave Reynolds wrote:
On 25/04/15 16:49, Diana Magdi wrote:
Hi,

I'm trying to use Jena 2.13.0 with Pellet; I downloaded the latest
Apache
Jena library  2.13.0.

Then, I downloaded  the jar file pellet-jena-2.3.2 and imported the JENA
libraries.

  But i get this exception:

Exception in thread "main" java.lang.IllegalAccessError: tried to access
field com.hp.hpl.jena.reasoner.BaseInfGraph.isPrepared from class
org.mindswap.pellet.jena.PelletInfGraph

Looks like that field was set to private by an earlier fix JENA-399.

Should be easy to repair but the codebase is in flux right now so logged
as a bug: https://issues.apache.org/jira/browse/JENA-921

Please update the "jena2" branch though no one has offered to do any
releases of that.

Jena3 is not going to be sufficiently compatibility with Jena 2.10.1 so
a change in the new codebase won't help.

     Andy

For now you'll need to either get Pellet to switch to using the accessor
method instead of the field (unlikely) or use an earlier jena. The
change was made a long time ago (surprised the issue hasn't come up
earlier) so you would have to go all the way back to Jena 2.7.4.

I downloaded Jena version 2.10.1 .  i tried Jena 2.10.1  with Pellet
2.3.2
but i get this exception.

Exception in thread "main" java.lang.NoClassDefFoundError:
shared/SharedObjectFactory

That's not part of Jena but in any case you have to go back even
earlier, the change was made on 22 Feb 2013 so I think the that means
using the ancient Jena 2.7.4.

Dave



Reply via email to