hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darkchanter <omsec...@hotmail.com>
Subject Java Client API
Date Fri, 04 Jul 2014 20:00:43 GMT
Hello
I set up HBase 0.94.20 in stand-alone mode on my openSuSE, everything's fine
with that.

Now I am trying to reach it from a java program (running in eclipse)

My code crashes at line

HTable table = new HTable(config, "myLittleHBaseTable");

saying
Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/protobuf/Message

Looks like the connection itself (and the session) is okay...

I imported the necessary jars and added the config-xml - is there still
something I missed?

You may find the code snipped here: http://nopaste.info/f0ff59718b.html

Thanks
Roger



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Java-Client-API-tp4061046.html
Sent from the HBase Developer mailing list archive at Nabble.com.

Mime
View raw message