简体   繁体   English

Nutch无法在Windows 10上运行

[英]Nutch not working on Windows 10

I'm trying to do crawl with the Nutch and on ElasticSearch and MongoDB . 我正在尝试使用Nutch以及ElasticSearchMongoDB进行爬网。 After that, I saw some useful tutorials and SO question/answers as following I can not run the Nutch . 之后,我看到了一些有用的教程和SO问题/解答,如下所示,我无法运行Nutch

Search Engine with Apache Nutch, MongoDB and Elasticsearch 使用Apache Nutch,MongoDB和Elasticsearch的搜索引擎

Scraping the Web with Nutch for Elasticsearch 使用Nutch进行Elasticsearch爬网

And I saw this question: nutch-does-not-index-on-elasticsearch-correctly-using-mongodb 我看到了这个问题: 在弹性搜索上正确使用mongodb并没有索引

I build the Nutch with ant, but when I run the Nutch in command prompt with .\\nutch command, it does not show anything in Command Prompt and just shows the Nutch file. 我使用蚂蚁构建了Nutch,但是当我使用.\\nutch命令在命令提示符下运行Nutch时,它在命令提示符中不显示任何内容,而仅显示Nutch文件。

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

It is solved by install the Cygwin . 通过安装Cygwin可以解决。 You need install the Cygwin and install packages in the default. 您需要安装Cygwin并在默认情况下安装软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM