Thank you. The issue is that we have a ./bin/crawl script now.
Even before, you wouldn’t run:

bin/nutch bin/crawl urls


It would have been something like:

./bin/nutch <crawlDir> <seedDir> .. etc

If you run the commands without any params they should tell you
the positional args.

HTH!

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: [email protected]
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: nishant jani <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Saturday, February 7, 2015 at 1:51 PM
To: "[email protected]" <[email protected]>
Subject: Re: [jira] [Commented] (NUTCH-1937) Error: Could not find or load
main class bin.crawl

>Hi Chris,
>
>
>This is the output for my pwd
>
>
>/home/nishant/programming_dump/assignment1/nutch/runtime/local
>
>
>
>I have set the NUTCH_HOME, NUTCH_JAVA_HOME and JAVA_HOME variables
>
>
>Also, I have been issuing the command:
>
>
>bin/nutch bin/crawl urls
>
>
>
>where urls is a valid directory in the local directory.
>
>
>
>
>ᐧ
>
>
>On Sat, Feb 7, 2015 at 1:42 PM, Chris A. Mattmann (JIRA)
><[email protected]> wrote:
>
>
>    [ 
>https://issues.apache.org/jira/browse/NUTCH-1937?page=com.atlassian.jira.p
>lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310937#com
>ment-14310937 
><https://issues.apache.org/jira/browse/NUTCH-1937?page=com.atlassian.jira.
>plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310937#co
>mment-14310937> ]
>
>Chris A. Mattmann commented on NUTCH-1937:
>------------------------------------------
>
>Hi Nishant, can you please show the output of:
>
>pwd
>
>Also the ./bin/nutch crawl command has been supplanted by ./bin/crawl
>
>
>
>> Error: Could not find or load main class bin.crawl
>> --------------------------------------------------
>>
>>                 Key: NUTCH-1937
>>                 URL:
>https://issues.apache.org/jira/browse/NUTCH-1937
><https://issues.apache.org/jira/browse/NUTCH-1937>
>>             Project: Nutch
>>          Issue Type: Bug
>>    Affects Versions: 1.10
>>         Environment: Linux Ubuntu
>>            Reporter: Nishant Jani
>>             Fix For: 1.10
>>
>>
>> I set up Nutch, I have set NUTCH_HOME, NUTCH_JAVA_HOME and JAVA_HOME.
>>Im working on Nutch 1.10-snapshot. When I run the following command
>>bin/nutch bin/crawl urls/ I get Error: Could not find or load main class
>>bin.crawl
>> Could anyone let me know the fix for the same.
>
>
>
>--
>This message was sent by Atlassian JIRA
>(v6.3.4#6332)
>
>
>
>
>
>
>

Reply via email to