美文网首页
nutch的编译问题

nutch的编译问题

作者: Echoooo_o | 来源:发表于2019-05-14 14:58 被阅读0次

问题1:Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
解决:下载一个叫sonar-ant-task-2.2.jar的jar包
并修改你解压的nutch文件夹下的build.xml

<taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml"> 
在下面加一行
<classpath><fileset dir="./lib" includes="sonar*.jar" /></classpath>  
就是指明你刚刚下载的那个jar包的位置

问题2:[ivy:resolve] 卡住不动
解决:修改ivy文件夹下的ivysetting.xml文件
将repo1.maven.org换成

http://maven.aliyun.com/nexus/content/repositories/central/
不要用啥repo2的 巨慢

相关文章

网友评论

      本文标题:nutch的编译问题

      本文链接:https://www.haomeiwen.com/subject/scvsaqtx.html