`

今天执行nutch1.2报错:找不类 PassURLNormalizer(cygwin与在eclipse编程执行时的区别)

阅读更多

nutch-default.xml

 

<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>

 

此红色处路径问题。

 

如果不是在eclipse内执行得把它改成原来的初始路径。

<property>
  <name>plugin.folders</name>
  <value>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>

 

这里是cygwin与在eclipse编程执行时的区别,不然会找不到plugins路径。然后通过报错是比较难找着原因的。呵呵。希望记录一下,能帮助有相同问题的人。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics