2 layyuiop layyuiop 于 2015.07.12 13:38 提问

eclipse导入lucene出错 1C

我的步骤是这样的:

  1. 从网站checkout源码 svn co地址
    https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_5_2_1/

  2. cmd 到目录下 执行

    ant eclipse 报错

错误信息如下
[ivy:configure] :: loading settings :: file = D:\project\lucene\luncene+solr\luc
ene\ivy-settings.xml

resolve:
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: org.apache.uima#Tagger;2.3.1
[ivy:retrieve] ==== local: tried
[ivy:retrieve] C:\Users\Administrator.ivy2\local\org.apache.uima\Tagger\2.3.
1\ivys\ivy.xml
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] C:\Users\Administrator.ivy2\local\org.apache.uima\Tagger\2.3.
1\jars\Tagger.jar
[ivy:retrieve] ==== shared: tried
[ivy:retrieve] C:\Users\Administrator.ivy2\shared\org.apache.uima\Tagger\2.3
.1\ivys\ivy.xml
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] C:\Users\Administrator.ivy2\shared\org.apache.uima\Tagger\2.3
.1\jars\Tagger.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve] http://repo1.maven.org/maven2/org/apache/uima/Tagger/2.3.1/Tag
ger-2.3.1.pom
[ivy:retrieve] ==== maven.restlet.org: tried
[ivy:retrieve] http://maven.restlet.org/org/apache/uima/Tagger/2.3.1/Tagger-2
.3.1.pom
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] http://maven.restlet.org/org/apache/uima/Tagger/2.3.1/Tagger-2
.3.1.jar
[ivy:retrieve] ==== sonatype-releases: tried
[ivy:retrieve] https://oss.sonatype.org/content/repositories/releases/org/apa
che/uima/Tagger/2.3.1/Tagger-2.3.1.pom
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] https://oss.sonatype.org/content/repositories/releases/org/apa
che/uima/Tagger/2.3.1/Tagger-2.3.1.jar
[ivy:retrieve] ==== releases.cloudera.com: tried
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/o
rg/apache/uima/Tagger/2.3.1/Tagger-2.3.1.pom
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/o
rg/apache/uima/Tagger/2.3.1/Tagger-2.3.1.jar
[ivy:retrieve] ==== rr-snapshot: tried
[ivy:retrieve] https://oss.sonatype.org/content/repositories/comcarrotsearch-
1039/org/apache/uima/Tagger/2.3.1/Tagger-2.3.1.pom
[ivy:retrieve] -- artifact org.apache.uima#Tagger;2.3.1!Tagger.jar:
[ivy:retrieve] https://oss.sonatype.org/content/repositories/comcarrotsearch-
1039/org/apache/uima/Tagger/2.3.1/Tagger-2.3.1.jar
[ivy:retrieve] ==== working-chinese-mirror: tried
[ivy:retrieve] http://uk.maven.org/maven2/org/apache/uima/Tagger/2.3.1/Tagger
-2.3.1.pom
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: org.apache.uima#Tagger;2.3.1: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :::: ERRORS
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve] impossible to acquire lock for org.apache.uima#Tagger;2.3.1
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
D:\project\lucene\luncene+solr\build.xml:147: The following error occurred while
executing this line:
D:\project\lucene\luncene+solr\lucene\build.xml:123: The following error occurre
d while executing this line:
D:\project\lucene\luncene+solr\lucene\common-build.xml:2232: The following error
occurred while executing this line:
D:\project\lucene\luncene+solr\lucene\analysis\build.xml:91: The following error
occurred while executing this line:
D:\project\lucene\luncene+solr\lucene\analysis\build.xml:38: The following error
occurred while executing this line:
D:\project\lucene\luncene+solr\lucene\common-build.xml:431: impossible to resolv
e dependencies:
resolve failed - see output for details
Total time: 22 minutes 18 seconds

谢了啊

6个回答

taomanman
taomanman   Rxr 2015.07.12 14:14

tgz包是linux下常用的压缩包格式,因为在linux下没有Windows平台下的rar和zip压缩包。
如果,你是在windows平台下开发,建议你重新下载一个rar或zip格式的包。
如果你是在linux下开发,那么你可以通过命令来减压后使用。

taomanman
taomanman   Rxr 2015.07.12 14:15

还有一点就是要注意你的JDK版本

cuiwei1026522829
cuiwei1026522829   Ds   Rxr 2015.07.12 21:13

看看是不是环境问题,比如jdk版本??

tt5753
tt5753   2015.07.13 10:11

你看下tagger-2.3.1.jar有没有问题?
就是这个依赖没有解决导致的

layyuiop
layyuiop 是这个的依赖,但是怎么解决一直不知道。。我手动上http://repo1.maven.org/maven2/org/apache/uima/Tagger/2.3.1/Tagger-2.3.1.pom
2 年多之前 回复
layyuiop
layyuiop 是这个的依赖,但是怎么解决一直不知道。。我手动上http://repo1.maven.org/maven2/org/apache/uima/Tagger/2.3.1/Tagger-2.3.1.pom
2 年多之前 回复
CSDNXIAOD
CSDNXIAOD   2015.07.16 15:23

eclipse 导入工程出错
导入Sipdroid到eclipse出错问题解决
----------------------biu~biu~biu~~~在下问答机器人小D,这是我依靠自己的聪明才智给出的答案,如果不正确,你来咬我啊!

qq_36630278
qq_36630278   2017.02.10 10:52

楼主 问题解决没有 我也遇到这种问题 麻烦 告诉一下怎么解决

Csdn user default icon
上传中...
上传图片
插入图片