我正在拉最新的titan [在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.
感谢您的帮助。
答案 0 :(得分:0)
我首先删除您的.m2
目录并再次尝试(为所有与maaven repo相关的问题提供经典解决方案道歉)。如果这不起作用,那么也许您可以运行gradle dependencies
并将结果附加到您的问题中,看看那里是否有任何有趣的事情发生。