I don't think java -classpath C:/nutch/trunk/lib xxx.xxx.A will put all jars under C:/nutch/trunk/lib dir into classpath. You should write some shell/bat script. Or you can run the class under IDE(say eclipse, netbean).
On 3/14/06, Tolga Erkal <[EMAIL PROTECTED]> wrote: > Hi, > > I put C:\nutch\trunk\lib into my classpath. > > Now I am getting the following error. > > Tolga /cygdrive/c/nutch/trunk > $ java org.apache.nutch.analysis.lang.NGramProfile -create > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/nutch/analysis/lang/NGramProfile > > Any Ideas? > > > > Tolga ERKAL > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Magnotia.com | www.magnotia.com <http://www.magnotia.com/> > My Blog | x.magnotia.com <http://x.magnotia.com/> > 917 495 1938 > > > > -----Original Message----- > From: Jack Tang [mailto:[EMAIL PROTECTED] > Sent: Monday, March 13, 2006 11:59 PM > To: [email protected] > Subject: Re: Language Profiling Problem > > > pls put hadoop-0.1-dev.jar into your classpath > > On 3/14/06, Tolga Erkal <[EMAIL PROTECTED]> wrote: > > I am trying to use NGramProfile to create a profile and getting the > > following error. It is probably related with classpath setting but could > not > > figure out how will I make it work. > > > > Any help? > > > > Tolga /cygdrive/c/nutch/trunk > > $ java org.apache.nutch.analysis.lang.NGramProfile -create > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/hadoop/util/LogFormatter > > at > > org.apache.nutch.analysis.lang.NGramProfile.<clinit>(NGramProfile.java:57) > > > > Thanks in advance > > > > Tolga ERKAL > > [EMAIL PROTECTED] > > Magnotia.com | www.magnotia.com > > My Blog | x.magnotia.com > > 917 495 1938 > > > > > > > > > -- > Keep Discovering ... ... > http://www.jroller.com/page/jmars > > > -- Keep Discovering ... ... http://www.jroller.com/page/jmars ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
