【问题标题】:Titan-all gradle pull failsTitan-all gradle pull 失败
【发布时间】:2013-11-27 12:28:13
【问题描述】:

我正在拉最新的泰坦 [在 Windows 和 ubuntu 上]

compile group: 'com.thinkaurelius.titan', name:'titan-all', version:'0.4.0'

我看到以下错误:

Download http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':runtime'.
> Could not download artifact 'com.thinkaurelius.titan:titan-core:0.4.0:${titan.classifier}@jar'
> java.lang.NullPointerException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

感谢您的帮助。

【问题讨论】:

    标签: titan


    【解决方案1】:

    我将首先删除您的 .m2 目录并重试(很抱歉为所有 maaven repo 相关问题提供经典解决方案)。如果这不起作用,那么也许您可以运行 gradle dependencies 并将结果附加到您的问题中,看看那里是否发生了任何有趣的事情。

    【讨论】:

    • 我会尝试并告诉你。另外,我在网上找到了一个类似的线程:groups.google.com/forum/#!topic/aureliusgraphs/zbiQnknr25Y,但这表明我现在一直在使用一种解决方法。
    • 删除 ~/.gradle 没有帮助。 'gradle dependencies' 显示在这里:link
    • 更新:我能够毫无问题地拉取 0.4.1。