热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Solr源码导入eclipse报错

原文地址:http:bbs.csdn.nettopics390830339已下载并解压solr-4.9.0-srcant环境已经配置好但是运行anteclipse命令时,报错!报错信息

原文地址: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来构建

 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[1]  丢个板砖[0]  引用 |  举报 |  管理
 
对我有用[0]  丢个板砖[0]  引用 |  举报 |  管理

 


推荐阅读
author-avatar
詹姵慧3482
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有