首页 > 系统服务 > 详细

Solr源码导入eclipse报错

时间:2015-12-12 01:34:55      阅读:316      评论:0      收藏:0      [点我收藏+]

原文地址:http://bbs.csdn.net/topics/390830339

已下载并解压solr-4.9.0-src
ant 环境已经配置好
但是运行ant eclipse命令时,报错!报错信息如下:
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: org.carrot2#morfologik-polish;1.7.1
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    C:\Users\LC\.ivy2\local\org.carrot2\morfologik-polish\1.7
.1\ivys\ivy.xml
[ivy:retrieve]    -- artifact org.carrot2#morfologik-polish;1.7.1!morfologik-pol
ish.jar:
[ivy:retrieve]    C:\Users\LC\.ivy2\local\org.carrot2\morfologik-polish\1.7
.1\jars\morfologik-polish.jar
.
.
略去
.
.
[ivy:retrieve]    http://uk.maven.org/maven2/org/carrot2/morfologik-polish/1.7.1
/morfologik-polish-1.7.1.pom
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: org.carrot2#morfologik-polish;1.7.1: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]  impossible to acquire lock for org.carrot2#morfologik-polish;1.7
.1
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
D:\Solr\solr-4.9.0-src\solr-4.9.0\build.xml:104: The following error occurred wh
ile executing this line:
D:\Solr\solr-4.9.0-src\solr-4.9.0\lucene\build.xml:200: The following error occu
rred while executing this line:
D:\Solr\solr-4.9.0-src\solr-4.9.0\lucene\common-build.xml:2017: The following er
ror occurred while executing this line:
D:\Solr\solr-4.9.0-src\solr-4.9.0\lucene\analysis\build.xml:91: The following er
ror occurred while executing this line:
D:\Solr\solr-4.9.0-src\solr-4.9.0\lucene\analysis\build.xml:38: The following er
ror occurred while executing this line:
D:\Solr\solr-4.9.0-src\solr-4.9.0\lucene\common-build.xml:388: impossible to res
olve dependencies:
        resolve failed - see output for details

Total time: 27 minutes 3 seconds

提示说是找不到org.carrot2#morfologik-polish;1.7.1
请问各位应该如何解决呢?
我已经下载了morfologik-polish-1.7.1.jar文件,但又不知道放在哪里,没有找到在ant和solr下都没找到下载目录。

用ivy+ant挺麻烦的,建议用maven来构建

 

Solr源码导入eclipse报错

原文:http://www.cnblogs.com/ihuning/p/5040635.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!