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

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

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