今天执行nutch1.2报错:找不类 PassURLNormalizer(cygwin与在eclipse编程执行时的区别)
nutch-default.xml
<property>
<name>plugin.folders</name>
<value>./src/plugin</value>
<description>Directorieswherenutchpluginsarelocated.Each
elementmaybearelativeorabsolutepath.Ifabsolute,itisused
asis.Ifrelative,itissearchedforontheclasspath.</description>
</property>此红色处路径问题。
如果不是在eclipse内执行得把它改成原来的初始路径。
<property>
<name>plugin.folders</name>
<value>plugins</value>
<description>Directorieswherenutchpluginsarelocated.Each
elementmaybearelativeorabsolutepath.Ifabsolute,itisused
asis.Ifrelative,itissearchedforontheclasspath.</description>
</property>这里是cygwin与在eclipse编程执行时的区别,不然会找不到plugins路径。然后通过报错是比较难找着原因的。呵呵。希望记录一下,能帮助有相同问题的人。
相关推荐
xnuzfm 2020-02-12
zhangmin0 2019-12-14
heshizui 2015-03-19
lzqlawrence 2015-08-19
小易Smalle 2016-07-22
Yvonne的小 2014-06-05
wangzhe00 2014-06-27
tgxblue 2016-03-25
heshizui 2015-03-19
Christina潇潇 2015-01-27