Hi Benjamin, This is expected behavior. Commons Lang 3 is not backwards compatible with Commons Lang 2.x. They use different java packages in an effort to ease projects that have to rely on both while transitioning.
-Sean On Mon, Oct 27, 2014 at 9:50 AM, Sznajder ForMailingList < [email protected]> wrote: > Many thanks! > > Strangely, when adding commons-lang 3.2, it failed. > Adding back the 2.6 it worked! > > > > On Mon, Oct 27, 2014 at 4:10 PM, Ted Yu <[email protected]> wrote: > > > Which release of HBase are you using ? > > If 0.98.x, here is the dependency on commons-lang: > > <commons-lang.version>2.6</commons-lang.version> > > > > Cheers > > > > On Mon, Oct 27, 2014 at 7:03 AM, Sznajder ForMailingList < > > [email protected]> wrote: > > > > > Hi > > > > > > I want to connect from my windows laptop to an installed HBASE > > > > > > When running the code , I get the following error: > > > > > > java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils > > > at org.apache.hadoop.hbase.HConstants.<clinit>(HConstants.java:907) > > > at > > > > > > > > > org.apache.hadoop.hbase.client.HConnectionKey.<clinit>(HConnectionKey.java:42) > > > at > > > > > > > > > org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:265) > > > at > > > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:192) > > > > > > > > > However, I added to the classpath the jar commons-lang3-3.3.2 > > > > > > Regards > > > Benjamin > > > > > > -- Sean
