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

有帮助吗?

解决方案 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.

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top