hbase-book
hbase-book copied to clipboard
ERROR while running the code on github
Hi Lars,
The compilation of all the source files in the directory is successful after the issual of the mvn package command.
INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17 seconds [INFO] Finished at: Fri Jul 06 17:21:33 CDT 2012 [INFO] Final Memory: 65M/380M [INFO] ------------------------------------------------------------------------
However when I try to run any of the examples, errors pop up.
varun@varun:~/larsgeorge/hbase-book/ch04$ bin/run.sh client.PutExample Exception in thread "main" java.lang.NoClassDefFoundError: client/PutExample Caused by: java.lang.ClassNotFoundException: client.PutExample at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
What is the issue?Could you please provide your inputs on this ?