You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by xiaofan feng <fx...@gmail.com> on 2012/08/05 21:24:28 UTC
Eyeball Installation Problem
Hi,
After I installed the eyeball, which didn't pass the ant test
only 1 build error, so I ignored it for now..
And I was trying to use java jena.eyeball
It gives me the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/jena/rdf/m
odel/RDFNode
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
at java.lang.Class.getMethod0(Class.java:2685)
at java.lang.Class.getMethod(Class.java:1620)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:492)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:484)
Caused by: java.lang.ClassNotFoundException: com.hp.hpl.jena.rdf.model.RDFNode
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more
How should I fix it? Thanks a lot
Re: Eyeball Installation Problem
Posted by Andy Seaborne <an...@apache.org>.
(you probably want the users list users@jena.apache.org)
NoClassDefFoundError means that then class definition existed when the
currently executing class was compiled, but at runtime. It is usually a
problem with setting the classpath at runtime.
Make sure you have the right versions of Jena for Eyeball.
> only 1 build error, so I ignored it for now..
Maybe related?
Andy
On 05/08/12 20:24, xiaofan feng wrote:
> Hi,
>
> After I installed the eyeball, which didn't pass the ant test
> only 1 build error, so I ignored it for now..
>
> And I was trying to use java jena.eyeball
> It gives me the following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/jena/rdf/m
> odel/RDFNode
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
> at java.lang.Class.getMethod0(Class.java:2685)
> at java.lang.Class.getMethod(Class.java:1620)
> at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:492)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:484)
>
> Caused by: java.lang.ClassNotFoundException: com.hp.hpl.jena.rdf.model.RDFNode
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 6 more
>
> How should I fix it? Thanks a lot
>