首页 > 编程语言 > 详细

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

时间:2016-06-21 07:58:08      阅读:213      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!