Looks like hbase-0.94.6-cdh4.3.0-security.jar was not in classpath. On Wed, Jul 24, 2013 at 12:06 PM, naveen.ara <naveen....@gmail.com> wrote:
> I am using hbase to query some data in java, I also have hadoop jars in my > class path. I am able to query hbase data from main method in java class, > but calling same method from web service using Axis gives this error : > > java.lang.NoClassDefFoundError: > org/apache/hadoop/hbase/filter/WritableByteArrayComparable > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Unknown Source) > at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177) > at java.security.AccessController.doPrivileged(Native Method > > > I have hbase-0.94.6-cdh4.3.0-security.jar > > jaxb-api-2.2.2.jar, jaxb-impl-2.2.3-1.jar in class path in eclipse. > > > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/calling-hbase-method-in-web-service-using-Axis-tp4048294.html > Sent from the HBase User mailing list archive at Nabble.com. >