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
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
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