Voldemort for beginners

100 views
Skip to first unread message

Bongani Shongwe

unread,
Oct 25, 2012, 12:45:55 PM10/25/12
to project-...@googlegroups.com
Hi,

I plan creating a distributed application aimed at peer-to-peer networks and Voldemort seems like the perfect tool kit.

I just tried to run the Client Example in java and I'm receiving the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: ClientExample
Caused by: java.lang.ClassNotFoundException: ClientExample
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: ClientExample. Program will exit.

I compiled it as:
javac -classpath voldemort-0.96.jar ClientExample.java
No errors appeared. I ran it using this code:
java -classpath voldemort-0.96.jar ClientExample

Is there something I'm doing wrong? I tried it in Eclipse as well by just importing the voldemort-0.96.jar but that as well.

Are there any other examples to show beginners how to use Voldemort and it's various features?
Also since I'm aiming at a peer-to-peer system. I'm taking that I would need to use Voldemorts admin features, am I correct?
Reply all
Reply to author
Forward
0 new messages