重新配置nutch1.2 报 Exception in thread "main" java.io.IOException: Job failed!

重新配置nutch1.2 报 Exception in thread "main" java.io.IOException: Job failed!

网上解决的办法都不行,原来是配置:

nutch-default.xml

//自己添加的时没有认真的原因造成的。

<property>
  <name>plugin.folders</name>
  <value>./src/plugins </value>
  <description>Directories where nutch plugins are located.  Each
  element may be a relative or absolute path.  If absolute, it is used
  as is.  If relative, it is searched for on the classpath.</description>
</property>

修改成:

<property>
  <name>plugin.folders</name>
  <value>./src/plugin</value>
  <description>Directories where nutch plugins are located.  Each
  element may be a relative or absolute path.  If absolute, it is used
  as is.  If relative, it is searched for on the classpath.</description>
</property>

猜你喜欢

转载自nhy520.iteye.com/blog/855216