[Pellet-users] need help in the exception ->NoClassDefFoundError:org.relaxng.datatype.DatatypeException
Michael Grove
mike at clarkparsia.com
Wed Feb 6 21:44:12 UTC 2008
On Feb 6, 2008, at 4:43 PM, Eman Hossny wrote:
> Hello,
> i have an ontology file & i need to read this ontology into
> OntoModel, but when i write the line
> OntModel ontModel = ModelFactory.createOntologyModel
> (PelletReasonerFactory.THE_SPEC );
> the following exception appear, can anyone help be in this exception:
> java.lang.NoClassDefFoundError: org/relaxng/datatype/DatatypeException
This sounds like a classpath issue. There are a number of jars of
third party libraries (like Jena, since you're using the Jena
interface) that Pellet needs to operate properly. Check that both
relaxngDatatype.jar and xsdlib.jar are in your classpath, I don't
recall which has that exact class, but they should both be in your path.
Cheers,
Mike
>
>
> --
> Eman Hossny,
> Teacher Assistant,
> Computer Science Department,
> Faculty of Computers and Information
> Cairo University, Egypt
>
> يارب العتق من النار لى ولوالديا
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
More information about the Pellet-users
mailing list