0

我正在拉最新的泰坦 [在 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.

谢谢你的帮助。

4

1 回答 1

0

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

于 2013-11-14T13:52:41.437 回答