Windows 7 错误:无法找到或加载主类org.apache.nutch.crawl.Crawler

Windows 7 错误:无法找到或加载主类org.apache.nutch.crawl.Crawler,windows-7,cygwin,nutch,Windows 7,Cygwin,Nutch,我试图使用Cygwin64/Windows7运行Nutch 2.2.1,但出现以下错误: MY-PC /home/apache-nutch-2.2.1/src/bin $ ./nutch crawl urls -dir test -depth 3 -topN 4 cygpath: can't convert empty path Error: Could not find or load main class org.apache.nutch.crawl.Crawler 以前是否有人看到或解决

我试图使用Cygwin64/Windows7运行Nutch 2.2.1,但出现以下错误:

MY-PC /home/apache-nutch-2.2.1/src/bin
$ ./nutch crawl urls -dir test -depth 3 -topN 4
cygpath: can't convert empty path
Error: Could not find or load main class org.apache.nutch.crawl.Crawler

以前是否有人看到或解决过此错误?

它表明可执行文件的类路径不正确。请验证您的类路径。请注意,Unix/Linux样式路径和Windows样式路径(cygpath)是不同的

希望这有帮助