[Pellet-users] NoSuchFieldError: individualAsThingP

Jeffrey Schmitz jeff at netbrackets.com
Mon Mar 5 22:01:04 UTC 2007


Hello,
    When running the following code:

		maker = ModelFactory.createFileModelMaker(".");
		OntModelSpec ontSpec = new OntModelSpec(OntModelSpec.OWL_DL_MEM);
		Reasoner memReasoner = PelletReasonerFactory.theInstance().create();
		ontSpec.setReasoner(memReasoner);

I'm getting the following error on the ontSpec.setReasoner line.

java.lang.NoSuchFieldError: individualAsThingP
	org.mindswap.pellet.jena.PelletReasonerFactory.getCapabilities 
(PelletReasonerFactory.java:79)
	com.hp.hpl.jena.reasoner.ReasonerRegistry.register 
(ReasonerRegistry.java:79)
	org.mindswap.pellet.jena.PelletReasonerFactory.<clinit> 
(PelletReasonerFactory.java:55)

I have no clue where to even start to look for what's wrong.  The  
only thing I do before this is make some calls to the  
OntDocumentManager.getInstance().addAltEntry.  Any ideas?

Thanks,
Jeff



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070305/5e7716f1/attachment.htm 


More information about the Pellet-users mailing list