我的solr上周正在建设中,但突然之间,构建失败了以下内容:
[ivy:retrieve] Entry is found in the ModuleDescriptorCache : .ivy2/cache/org.apache.derby/derby/ivy-10.9.1.0.xml
[ivy:retrieve] found ivy file in cache for org.apache.derby#derby;10.9.1.0 (resolved by public): .ivy2/cache/org.apache.derby/derby/ivy-10.9.1.0.xml
[ivy:retrieve] main: module revision found in cache: org.apache.derby#derby;10.9.1.0
[ivy:retrieve] found org.apache.derby#derby;10.9.1.0 in public
[ivy:retrieve] Nbr of module to sort : 1
[ivy:retrieve] Sort dependencies of : org.apache.derby#derby;10.9.1.0 / Number of dependencies = 0
[ivy:retrieve] Sort done for : org.apache.derby#derby;10.9.1.0
[ivy:retrieve] storing dependency org.apache.derby#derby;10.9.1.0 in props
[ivy:retrieve] resolved ivy file produced in cache
[ivy:retrieve] :: downloading artifacts ::
[ivy:retrieve] [NOT REQUIRED] org.apache.derby#derby;10.9.1.0!derby.jar
[ivy:retrieve] :: resolution report :: resolve 1202730ms :: artifacts dl 0ms
[ivy:retrieve] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] WARN: :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] WARN: :: hsqldb#hsqldb;1.8.0.10: not found
[ivy:retrieve] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] Nbr of module to sort : 1
[ivy:retrieve] Sort dependencies of : org.apache.derby#derby;10.9.1.0 / Number of dependencies = 0
[ivy:retrieve] Sort done for : org.apache.derby#derby;10.9.1.0
[ivy:retrieve] report for org.apache.solr#example-DIH;working@L-SB80BEFFT4-M.local compile produced in work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/lucene/build/ivy-resolution-cache/org.apache.solr-example-DIH-compile.xml
[ivy:retrieve] resolve done (1202730ms resolve - 0ms download)
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] ==== local: tried
[ivy:retrieve] .ivy2/local/hsqldb/hsqldb/1.8.0.10/ivys/ivy.xml
[ivy:retrieve] -- artifact hsqldb#hsqldb;1.8.0.10!hsqldb.jar:
[ivy:retrieve] .ivy2/local/hsqldb/hsqldb/1.8.0.10/jars/hsqldb.jar
[ivy:retrieve] ==== shared: tried
[ivy:retrieve] .ivy2/shared/hsqldb/hsqldb/1.8.0.10/ivys/ivy.xml
[ivy:retrieve] -- artifact hsqldb#hsqldb;1.8.0.10!hsqldb.jar:
[ivy:retrieve] .ivy2/shared/hsqldb/hsqldb/1.8.0.10/jars/hsqldb.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve] http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
[ivy:retrieve] ==== maven.restlet.org: tried
[ivy:retrieve] http://maven.restlet.org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
[ivy:retrieve] -- artifact hsqldb#hsqldb;1.8.0.10!hsqldb.jar:
[ivy:retrieve] http://maven.restlet.org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
[ivy:retrieve] ==== sonatype-releases: tried
[ivy:retrieve] https://oss.sonatype.org/content/repositories/releases/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
[ivy:retrieve] -- artifact hsqldb#hsqldb;1.8.0.10!hsqldb.jar:
[ivy:retrieve] https://oss.sonatype.org/content/repositories/releases/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
[ivy:retrieve] ==== releases.cloudera.com: tried
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
[ivy:retrieve] -- artifact hsqldb#hsqldb;1.8.0.10!hsqldb.jar:
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
[ivy:retrieve] ==== working-chinese-mirror: tried
[ivy:retrieve] http://uk.maven.org/maven2/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: hsqldb#hsqldb;1.8.0.10: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve] impossible to acquire lock for hsqldb#hsqldb;1.8.0.10
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ant] Exiting work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/example/example-DIH/build.xml.
[ant] Exiting work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/solrj/build.xml.
[ant] Exiting work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/core/build.xml.
[ant] Exiting work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/test-framework/build.xml.
[antcall] Exiting work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/solrj/build.xml.
BUILD FAILED
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/common-build.xml:510: The following error occurred while executing this line:
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/common-build.xml:421: The following error occurred while executing this line:
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/common-build.xml:376: The following error occurred while executing this line:
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/common-build.xml:396: The following error occurred while executing this line:
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/solr/common-build.xml:436: The following error occurred while executing this line:
work/projects/main/solr/solr-4.10.2/trunk-for-proactive-down/lucene-solr/lucene/common-build.xml:411: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:333)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java:231)
at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.java:178)
at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:87)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
我确实与主干进行了git合并,以使我的代码与最新版本保持同步,并且没有发生冲突。 我在网上搜索了可能的解决方案,并且正如在某些地方所建议的那样,我的互联网连接没有任何问题。
任何帮助都将不胜感激。
答案 0 :(得分:1)
删除〜/ .ivy2解决了这个问题。
rm -rf ~/.ivy2
答案 1 :(得分:1)
嗯,你不需要删除整个ivy2文件夹。删除锁定文件将起到魔力。
找到〜/ .ivy -name' * .lck' -exec rm -f {} \;