Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR while running the code on github #4

Open
varungb opened this issue Jul 6, 2012 · 0 comments
Open

ERROR while running the code on github #4

varungb opened this issue Jul 6, 2012 · 0 comments

Comments

@varungb
Copy link

varungb commented Jul 6, 2012

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant