Please note that the tutorial mentions this command but does not mention it is 0.8. How do you index a segment in 0.7.1? Can you omit the invertlinks command?
-----Original Message----- From: Stefan Groschupf [mailto:[EMAIL PROTECTED] Sent: Saturday, March 04, 2006 11:47 AM To: nutch-dev@lucene.apache.org Subject: Re: [jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink Hi Richard, I can not reproduce the problem: tom:~/Documents/workspace/nutch-trunk joa$ bin/nutch invertlinks Usage: <linkdb> (-dir segmentsDir | segment1 segment2 ...) This is a new command since nutch 0.8 please check that you have latest nutch 0.8 (nightly) distribution and not use a nutch 0.7 script to running a nutch 0.8 command. Stefan Am 04.03.2006 um 17:24 schrieb Richard Braman: > That was a typo. Same thing happens with invertlinks. > > $ bin/nutch invertlinks taxcrawl/db/ -dir > taxcrawl/segments/20060302033503/ run java in C:\Program > Files\Java\jdk1.5.0_04 Exception in thread "main" > java.lang.NoClassDefFoundError: invertlinks > > -----Original Message----- > From: Stefan Groschupf (JIRA) [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 04, 2006 11:18 AM > To: nutch-dev@incubator.apache.org > Subject: [jira] Closed: (NUTCH-222) Exception in thread "main" > java.lang.NoClassDefFoundError: invertlink > > > [ http://issues.apache.org/jira/browse/NUTCH-222?page=all ] > > Stefan Groschupf closed NUTCH-222: > ---------------------------------- > > Resolution: Fixed > > Hi, > I guess it is a typo, try "invertlinks" in case the nutch script does > not know the command as in your case "invertlink" it tries to execute > such a class. > >> Exception in thread "main" java.lang.NoClassDefFoundError: invertlink >> --------------------------------------------------------------------- >> >> Key: NUTCH-222 >> URL: http://issues.apache.org/jira/browse/NUTCH-222 >> Project: Nutch >> Type: Bug >> Components: fetcher >> Versions: 0.7.1 >> Environment: Windows, Cygwin, etc. >> Reporter: Richard Braman > >> >> When trying to invertlinks before indexing, following the tutorial, I >> get the following error. [EMAIL PROTECTED] /cygdrive/t/nutch-0.7.1 $ >> bin/nutch invertlink taxcrawl/db/ -dir taxcrawl/segments/* run >> java in > >> C:\Program Files\Java\jdk1.5.0_04 Exception in thread "main" >> java.lang.NoClassDefFoundError: invertlink > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the > administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > > --------------------------------------------------------------- company: http://www.media-style.com forum: http://www.text-mining.org blog: http://www.find23.net