(you probably want the users list [email protected])

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


Reply via email to