You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Richard Braman (JIRA)" <ji...@apache.org> on 2006/03/04 17:04:39 UTC

[jira] Created: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

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.

rich@machinename /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


[jira] Commented: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by "Richard Braman (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/NUTCH-222?page=comments#action_12368866 ] 

Richard Braman commented on NUTCH-222:
--------------------------------------

When i look at the nutch script from my 0.7.1 distribution there is no invertlinks class.  Is this something thats only found in 0.8

> 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.
> rich@machinename /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


Re: [jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by Stefan Groschupf <sg...@media-style.com>.
> Please note that the tutorial mentions this command but does not  
> mention
> it is 0.8.
Right, we may should open an improvement request.


> How do you index a segment in 0.7.1?  Can you omit the
> invertlinks command?
Sure, just index it. The link management is done different in nutch 0.7.
You can just index your segment.

Stefan


>
> -----Original Message-----
> From: Stefan Groschupf [mailto:sg@media-style.com]
> 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:jira@apache.org]
>> 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. rich@machinename /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
>
>
>
>

---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net



RE: [jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by Richard Braman <rb...@bramantax.com>.
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:sg@media-style.com] 
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:jira@apache.org]
> 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. rich@machinename /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




Re: [jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by Stefan Groschupf <sg...@media-style.com>.
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:jira@apache.org]
> 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. rich@machinename /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



RE: [jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by Richard Braman <rb...@bramantax.com>.
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:jira@apache.org] 
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. rich@machinename /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


[jira] Closed: (NUTCH-222) Exception in thread "main" java.lang.NoClassDefFoundError: invertlink

Posted by "Stefan Groschupf (JIRA)" <ji...@apache.org>.
     [ 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.
> rich@machinename /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