Re: noobie question on hadoop's NoClassDefFoundError

2009-11-17 Thread felix gao
had...@gmail.com] > *Sent:* Tuesday, November 17, 2009 1:26 AM > *To:* mapreduce-user@hadoop.apache.org > *Subject:* Re: noobie question on hadoop's NoClassDefFoundError > > > > Your eclipse instance doesn't have the jar files in the lib directory of > your hadoop

Re: noobie question on hadoop's NoClassDefFoundError

2009-11-16 Thread Jason Venner
Your eclipse instance doesn't have the jar files in the lib directory of your hadoop installation in the class path. On Sat, Nov 14, 2009 at 7:51 PM, felix gao wrote: > I wrote a simple code in my eclipse as > > Text t = new Text("hadoop"); > System.out.println((char)t.charAt(2)); > > when I tr

noobie question on hadoop's NoClassDefFoundError

2009-11-14 Thread felix gao
I wrote a simple code in my eclipse as Text t = new Text("hadoop"); System.out.println((char)t.charAt(2)); when I try to run this I got Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.hadoop.io.Text.(Text.java:49) at com.exam