AnsweredAssumed Answered

java.lang.ClassNotFoundException: org.jruby.Main

Question asked by beinsync on Jan 24, 2012
Latest reply on Jan 25, 2012 by yufeldman
I've recently started working on whirr Mapr cluster and I tried running Hbase Shell when I got this error :

# /opt/mapr/whirr/whirr-0.3.0-incubating/scripts/apache/hbase/hbase-0.89.20100924/bin/hbase shell
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main
Caused by: java.lang.ClassNotFoundException: org.jruby.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

Any insights into how to resolve this error or if something is wrong on my side?

Thanks,
Dinesh

Outcomes