Question

I run the following command and I get an error of class not found. I tried run the following

$ bin/nutch crawl urls -dir crawl -depth 3 -topN 5
bin/nutch: line 106: [: too many arguments
Error: Could not find or load main class Course.Web

Apache Nutch Command Unable to Execute I tried both the approaches from the above link but none of them worked.

I am using Nutch 1.7

Was it helpful?

Solution 2

Solved the problem...

Folder name had a ' ' in it. that caused nutch crawl to not work.

After removing the space character from the folder name, it works fine now.

OTHER TIPS

If you are using Nutch 2.x .Command /bin/nutch crawl is deprecated. You should use /bin/crawl instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top