[Pellet-users] Unrecognized option: -Dpellet.configuration=file:pellet.properties

Alexander Nazarov a.nazarov at daxtra.com
Tue Jul 8 18:22:45 UTC 2008


Hi Mike,
 
Sorry again for not supplying all details. Here they are:
 
 
[izoom at siberia pellet-1.5.2]$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20061011 (Red Hat 4.1.1-30)
 
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[izoom at siberia pellet-1.5.2]$ ./pellet.sh -version
Version : 1.5.2
Released: May 1 2008

[izoom at siberia pellet-1.5.2]$ java
-Dpellet.configuration=file:pellet.properties -jar lib\pellet.jar
Failed to load Main-Class manifest attribute from libpellet.jar

[izoom at siberia pellet-1.5.2]$ ./pellet.sh -s off -c TREE -if
/home/izoom/EZAccess/html/OntologyCandidate/AROntology/AROntologyCandidate.r
df
ERROR [main] (PelletOptions.java:172) - Ignoring invalid value (NONE) for
the configuration option USE_CLASSIFICATION_MONITOR
Input file:
file:/home/izoom/EZAccess/html/OntologyCandidate/AROntology/AROntologyCandid
ate.rdf
Load Error: java.lang.NoSuchMethodError: method
java.util.Collections.emptySet with signature ()Ljava.util.Set; was not
found.
   at org.mindswap.pellet.Role.<init>(Role.java:71)
   at org.mindswap.pellet.RBox.addAnnotationRole(RBox.java:179)
   at
org.mindswap.pellet.KnowledgeBase.addAnnotationProperty(KnowledgeBase.java:9
90)
   at
org.mindswap.pellet.jena.OWLLoader.defineAnnotationProperty(OWLLoader.java:1
147)
   at org.mindswap.pellet.jena.OWLLoader.load(OWLLoader.java:1854)
   at org.mindswap.pellet.jena.OWLReasoner.load(OWLReasoner.java:181)
   at
org.mindswap.pellet.jena.PelletInfGraph.prepare(PelletInfGraph.java:253)
   at
com.hp.hpl.jena.ontology.impl.OntModelImpl.prepare(OntModelImpl.java:2598)
   at org.mindswap.pellet.Pellet.loadInput(Pellet.java:197)
   at org.mindswap.pellet.Pellet.run(Pellet.java:455)
   at org.mindswap.pellet.Pellet.main(Pellet.java:900)



On Tue, 2008-07-08 at 14:52 +0100, Alexander Nazarov wrote:
> Sorry for not being accurate:
>  
> That error message I've got on Windows shell.
>  
> On Linux shell I've got another message:
>  
> Failed to load Main-Class manifest attribute from libpellet.jar

Is a path delimiter missing here?

The jar file distributed in the Pellet 1.5.x releases identifies
org.mindswap.pellet.Pellet as the main class.

What version of Java are you using?  What version of Pellet?  Are you
using the release jar file?

-- 
Mike Smith

Clark & Parsia





More information about the Pellet-users mailing list