[Pellet-users] Problem creating a model with Pellet and Jena

Evren Sirin evren at clarkparsia.com
Thu Nov 1 10:37:47 UTC 2007


It looks like you have a different version of xsdlib on your classpath. 
xsdlib shipped with Pellet hasn't changed between 1.5.0 and 1.5.1 so 
maybe it is your classpath (maybe the ordering of the jar files) that 
changed. Try removing the other xsdlib or put the one that comes with 
Pellet (both jars in pellet/lib/xsdlib directory) at the front of your 
classpath.

Cheers,
Evren

On 10/31/07 11:11 AM, Bruno Antunes wrote:
> Hi,
>
> I started using Pellet v1.5.1 and I'm getting an exception I didn't get
> before using v1.5.0. It occurs when I create the model and outputs the
> following:
>
> com.sun.msv.datatype.xsd.datetime.BigTimeDurationValueType.<init>(Ljava/math
> /BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigIntege
> r;Ljava/math/BigInteger;Ljava/math/BigDecimal;)V
> java.lang.NoSuchMethodError:
> com.sun.msv.datatype.xsd.datetime.BigTimeDurationValueType.<init>(Ljava/math
> /BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigIntege
> r;Ljava/math/BigInteger;Ljava/math/BigDecimal;)V
>         at
> com.sun.msv.datatype.xsd.datetime.TimeDurationFactory.create(TimeDurationFac
> tory.java:34)
>         at
> org.mindswap.pellet.datatypes.XSDDuration.<clinit>(XSDDuration.java:30)
>         at
> org.mindswap.pellet.datatypes.DatatypeReasoner.<init>(DatatypeReasoner.java:
> 101)
>         at org.mindswap.pellet.ABox.<init>(ABox.java:194)
>         at org.mindswap.pellet.KnowledgeBase.clear(KnowledgeBase.java:357)
>         at org.mindswap.pellet.KnowledgeBase.<init>(KnowledgeBase.java:267)
>         at org.mindswap.pellet.jena.OWLReasoner.<init>(OWLReasoner.java:90)
>         at
> org.mindswap.pellet.jena.PelletInfGraph.<init>(PelletInfGraph.java:163)
>         at
> org.mindswap.pellet.jena.PelletReasoner.bind(PelletReasoner.java:84)
>         at
> com.hp.hpl.jena.ontology.impl.OntModelImpl.generateGraph(OntModelImpl.java:2
> 729)
>         at
> com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:143)
>         at
> com.hp.hpl.jena.ontology.impl.OntModelImpl.<init>(OntModelImpl.java:124)
>         at
> com.hp.hpl.jena.rdf.model.ModelFactory.createOntologyModel(ModelFactory.java
> :402)
>
> Does anyone know what might be happening?
>
> Thanks in advance,
> Bruno
>
> _______________________________________________
> 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