Solr源码导入eclipse报错
已下载并解压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下都没找到下载目录。
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下都没找到下载目录。
...全文
相关推荐
在Eclipse中运行Solr 基础知识
要在Eclipse中运行Solr,我们需要遵循以下步骤:1. 首先,下载适用于你的项目的Solr版本。这里以Solr 3.6.1为例。2.
Solr项目源码及solr资源包
**运行与调试**:在Eclipse中导入项目后,可以通过Maven或Gradle构建工具来编译和运行。
eclipsejava导入项目源码-solr-5.3.1:Solr5.3.1的源代码。可以立即将其导入以作为普通JavaProject蚀
eclipsejava导入项目源码solr-5.3.1ThesourcecodeofSolr5.3.1.Itcanbeimportedimmediatlytoeclipse.
solr(solr-9.0.0-src.tgz)源码
- 使用IDE如IntelliJ IDEA或Eclipse导入源码,可以方便地调试和开发Solr插件。 - 测试框架如SolrTestCaseJ4用于编写单元测试和集成测试,确保代码质量。6.
solr定时同步jar包.zip
DIH支持全量导入和增量导入两种模式。全量导入会将整个数据源的数据导入到Solr索引中,而增量导入则仅导入自上次导入以来发生变更的数据,这在处理大量数据时尤其有用,因为它减少了不必要的资源消耗。


