[MOBY-dev] WG: [Fwd: Problem with xercexImpl-2.6.2.jar]

Martin Senger martin.senger at gmail.com
Fri Mar 14 11:50:57 UTC 2008


Eddie,

the problem reported by Andreas is caused in the Jena package (Jena needs
the XMLChar library). Could you look why this class is not part of the Java
1.5? Can it be found elsewhere than in xerces? [The xerces itself caused
problems from other reasons - see previous emails about it if you wish, or I
can re-send them.]

The full stack (with a command-line how you can replicate it) is here:

senger at sherekhan:~/jMoby$ build/run/run-cache-client -fill -cachedir
anotherMyCache/ -v -stack
Retrieving namespaces...    0:00:02.384
Retrieving data types...    ===ERROR===
java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLChar
        at com.hp.hpl.jena.rdf.model.impl.Util.notNameChar(Util.java:87)
        at com.hp.hpl.jena.rdf.model.impl.Util.splitNamespace(Util.java:67)
        at com.hp.hpl.jena.graph.Node_URI.getLocalName(Node_URI.java:55)
        at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.getLocalName(
ResourceImpl.java:126)
        at com.hp.hpl.jena.rdf.model.impl.PropertyImpl.checkLocalName(
PropertyImpl.java:78)
        at com.hp.hpl.jena.rdf.model.impl.PropertyImpl.<init>(
PropertyImpl.java:86)
        at com.hp.hpl.jena.rdf.model.ResourceFactory$Impl.createProperty(
ResourceFactory.java:244)
        at com.hp.hpl.jena.rdf.model.ResourceFactory.createProperty(
ResourceFactory.java:120)
        at com.hp.hpl.jena.vocabulary.RDF.property(RDF.java:32)
        at com.hp.hpl.jena.vocabulary.RDF.<clinit>(RDF.java:45)
        at com.hp.hpl.jena.ontology.impl.OntResourceImpl.<clinit>(
OntResourceImpl.java:63)
        at com.hp.hpl.jena.enhanced.BuiltinPersonalities.<clinit>(
BuiltinPersonalities.java:28)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.<init>(ModelCom.java:51)
        at com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(
ModelFactory.java:124)
        at com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(
ModelFactory.java:118)
        at
org.biomoby.shared.extended.DataTypeParser.getMobyDataTypesFromRDF(
DataTypeParser.java:156)
        at org.biomoby.client.CentralDigestCachedImpl.fillDataTypesCache(
CentralDigestCachedImpl.java:125)
        at org.biomoby.client.CentralDigestCachedImpl.getDataTypes(
CentralDigestCachedImpl.java:769)
        at CacheRegistryClient.main(CacheRegistryClient.java:85)


Cheers,
Martin

-- 
Martin Senger
email: martin.senger at gmail.com
m.senger at cgiar.org
skype: martinsenger



More information about the MOBY-dev mailing list