码迷,mamicode.com
首页 > 编程语言 > 详细

[Nutch]问题解决:Exception in thread "main" java.io.IOException: Job failed

时间:2016-06-21 08:00:33      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

1. 问题描述

在运行Nutch的时候会出现如下异常:
Exception in thread “main” java.io.IOException: Job failed!

2. 问题原因

nutch-default.xml中的plugin.folders的配置问题。

3. 问题解决

在配置plugin目录的时候,一定要使用绝对路径。

<property>
  <name>plugin.folders</name>
  <value>C:/NutchWorkPlat/nutch/plugins</value>
  <description>Directories where nutch plugins are located. Each
  element may be a relative or absolute path.  If absolute, it isused
  as is.  If relative, it is searched for on theclasspath.</description>
</property>

如下:
技术分享

[Nutch]问题解决:Exception in thread "main" java.io.IOException: Job failed

标签:

原文地址:http://blog.csdn.net/kandy_ye/article/details/51693007

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!