开发者社区> 问答> 正文

Nutch&Solr定向采集解析和索引搜索报错?报错

@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


展开
收起
爱吃鱼的程序员 2020-06-14 14:56:28 668 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    没看到错误描述
    是资源库的问题,改成<arel='nofollow'target='_blank'>http://mirrors.ibiblio.org/maven2/;<arel='nofollow'target='_blank'>http://central.maven.org/maven2/org/;这两个就可以了;但是测试聚美的链接的时候,存储的还是jt.cpd.com的数据,求解

    2020-06-14 14:56:44
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
神龙云服务器产品及技术深度解析 立即下载
弹性创造价值:基于ECS的最佳性价比实践解析 立即下载
又快又稳:阿里云下一代虚拟交换机解析 立即下载

相关镜像