You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2015/02/07 22:42:34 UTC

[jira] [Commented] (NUTCH-1937) Error: Could not find or load main class bin.crawl

    [ https://issues.apache.org/jira/browse/NUTCH-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310937#comment-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
>             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)

Re: [jira] [Commented] (NUTCH-1937) Error: Could not find or load main class bin.crawl

Posted by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov>.
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: chris.a.mattmann@nasa.gov
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 <ni...@gmail.com>
Reply-To: "dev@nutch.apache.org" <de...@nutch.apache.org>
Date: Saturday, February 7, 2015 at 1:51 PM
To: "dev@nutch.apache.org" <de...@nutch.apache.org>
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)
><ji...@apache.org> 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)
>
>
>
>
>
>
>


Re: [jira] [Commented] (NUTCH-1937) Error: Could not find or load main class bin.crawl

Posted by nishant jani <ni...@gmail.com>.
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) <ji...@apache.org>
wrote:

>
>     [
> https://issues.apache.org/jira/browse/NUTCH-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310937#comment-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
> >             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)
>