@S2JH 你好,想跟你请教个问题:我参照你的基于Nutch&Solr定向采集解析和索引搜索的整合技术..文档操作,build.xml的resolve出现下面的错误,不知道是什么原因?
Buildfile: D:\tool\nutch-ajax-master\nutch-ajax-master\apache-nutch-2.3\build.xml
Trying to override old definition of task javac
[taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
ivy-probe-antlib:
ivy-download:
[taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
ivy-download-unchecked:
ivy-init-antlib:
ivy-init:
init:
clean-lib:
resolve-default:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = D:\tool\nutch-ajax-master\nutch-ajax-master\apache-nutch-2.3\ivy\ivysettings.xml
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] problem while downloading module descriptor: http://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/2.13.2/mongo-java-driver-2.13.2.pom: invalid sha1: expected=73c1917a2125f38b1259ce5c8932857414e8b224 computed=ddd845d62cd090b9d0a500947801fccc00718e92 (1088ms)
[ivy:resolve] module not found: org.mongodb#mongo-java-driver;2.13.2
[ivy:resolve] ==== local: tried
[ivy:resolve] D:\tool\nutch-ajax-master\nutch-ajax-master\apache-nutch-2.3\ivy\repository\local\org.mongodb\mongo-java-driver\2.13.2\ivys\ivy.xml
[ivy:resolve] -- artifact org.mongodb#mongo-java-driver;2.13.2!mongo-java-driver.jar:
[ivy:resolve] D:\tool\nutch-ajax-master\nutch-ajax-master\apache-nutch-2.3\ivy\repository\local\org.mongodb\mongo-java-driver\2.13.2\jars\mongo-java-driver.jar
[ivy:resolve] ==== oschina: tried
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.mongodb#mongo-java-driver;2.13.2: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
D:\tool\nutch-ajax-master\nutch-ajax-master\apache-nutch-2.3\build.xml:468: impossible to resolve dependencies:
resolve failed - see output for details
Total time: 15 seconds
没看到错误描述
是资源库的问题,改成<arel='nofollow'target='_blank'>http://mirrors.ibiblio.org/maven2/;<arel='nofollow'target='_blank'>http://central.maven.org/maven2/org/;这两个就可以了;但是测试聚美的链接的时候,存储的还是jt.cpd.com的数据,求解
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。