Hi,
I am trying to upgrade my data from fedora 2 to fedora 3. Using the
analyzer.jar from the migration zip I am running constantly into
ClassNotFondExceptions. I am now constructing the jar from source
including the not found classes.
Has anybody else this experience and if so, already a solution other
then building from source including missing jars ??
i.e.
java -jar analyzer.jar migration.properties
INFO: Configuration specifies ignoreDatastreamIDs: DC RELS-EXT RELS-INT POLICY
ERROR: Analysis failed due to an unexpected error
fedora.common.FaultException: Error constructing class:
fedora.server.storage.translation.FOXML1_1DOSerializer
at
fedora.utilities.config.ConfigUtil.constructionFailed(ConfigUtil.java:191)
at fedora.utilities.config.ConfigUtil.construct(ConfigUtil.java:175)
at fedora.utilities.cma.analyzer.Analyzer.<init>(Analyzer.java:179)
at fedora.utilities.cma.analyzer.Analyzer.main(Analyzer.java:416)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: java.lang.NoClassDefFoundError: org/jrdf/graph/PredicateNode
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at fedora.utilities.config.ConfigUtil.construct(ConfigUtil.java:166)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.jrdf.graph.PredicateNode
at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:602)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
after including jrdf.jar I got
java -jar analyzer.jar migration.properties
INFO: Configuration specifies ignoreDatastreamIDs: DC RELS-EXT RELS-INT POLICY
INFO: Cleared 4 rows from objectPaths table
INFO: objectPaths table is empty; will rebuild
INFO: Building objectPaths table from objects at
/home/haiko/development/fedora/data/objects
Exception in thread "Thread-1" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209)
at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:602)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 5 more
Exception in thread "Thread-2" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209)
at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209)
at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-4" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256)
at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209)
at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153)
at java.lang.Thread.run(Thread.java:619)
Regards,
Haiko van der Schaaf
--
Haiko van der Schaaf
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers