Hi there, I am wondering if anybody was successful integrating HermitT in Jena. 
I tried everything I was able to find, including ChatGPT recommendations 🙂, but 
nothing helped me overcome the following error after correctly creating and 
loading the ontology

Exception in thread "main" java.lang.NoSuchMethodError: 
'com.google.common.base.Optional 
org.semanticweb.owlapi.model.OWLOntologyID.getDefaultDocumentIRI()'
at 
org.semanticweb.HermiT.structural.OWLClausification.preprocessAndClausify(OWLClausification.java:147)
at org.semanticweb.HermiT.Reasoner.loadOntology(Reasoner.java:211)
at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:202)
at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:176)
at 
org.semanticweb.HermiT.ReasonerFactory.createHermiTOWLReasoner(ReasonerFactory.java:51)
at 
org.semanticweb.HermiT.ReasonerFactory.createReasoner(ReasonerFactory.java:19)
at 
org.semanticweb.HermiT.ReasonerFactory.createReasoner(ReasonerFactory.java:15)
at HermitExample.main(HermitExample.java:44)

Any help will be greatly appreciated.
Thank you so much.
Regards, Neli.

Neli P. Zlatareva, PhD
Professor of Computer Science
Department of Computer Science
Central Connecticut State University
New Britain, CT 06050
Phone: (860) 832-2723
Fax: (860) 832-2712
Web site: cs.ccsu.edu/~neli/

Reply via email to