Hi,
I have go though your steps. It installation works now.
As i run com.emf4sw.owl.examples, they throw NoClassDefFoundError
Exception . I guess there was something wrong with the Classpath
setting or dependency configuration.
-----------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/
LoggerFactory
at com.hp.hpl.jena.util.Metadata.<clinit>(Metadata.java:39)
at...
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at...
... 15 more
-----------------------------------------------------------------------
And by com.emf4sw.rdf.examples produce warning :
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See
http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
So as suggested here
http://www.slf4j.org/codes.html#StaticLoggerBinder
i donwloaded and added
1) slf4j-api-1.6.4.jar
2) slf4j-simple-1.6.4.jar
to my class path.
The warning is no more there. But e.g. ReadOwlFile.java it produces
other Exception:
-------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
xerces/util/XMLChar
at com.hp.hpl.jena.rdf.model.impl.Util.notNameChar(Util.java:108)
at com.hp.hpl.jena.rdf.model.impl.Util.splitNamespace(Util.java:
66)
at com.hp.hpl.jena.graph.Node_URI.getLocalName(Node_URI.java:76)
...
Caused by: java.lang.ClassNotFoundException:
org.apache.xerces.util.XMLChar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
...
-----------------------------
Sorry to bother you,
BRs
Rafiki Ji
On 27 Apr., 13:50, Guillaume Hillairet <
g.hillai...@gmail.com> wrote:
> > I also have tried the "
http://ghillairet.github.com/p2" to install
> > jena(i suppose you mean Apache2.7.0 Jena), but failed too:
>
> > On which version of eclipse did you try? I just tried it on a clean 3.7.2
>
> and works for me.
>...