8
我是新来的gradle,但是我所在的项目的版本一直在工作几乎对自己好几个月了。今天我尝试“gradle这个”它,我得到一个颇为神秘的错误......突然“无法解决所有依赖......”org.apache.james:apache-mime4j:[email protected]'找不到
bobk-mbp:DM_Server bobk$ gradle
:clean
:readme
:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Artifact 'org.apache.james:apache-mime4j:[email protected]' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 7.114 secs
的事情是我没有对任何org.apache.james显式依赖千万:apache-mime4j在我的依赖关系部分,所以它必须进入其他东西。我怎么知道我的依赖关系实际上需要这个,然后,我该如何克服或解决这个丢失的神器?
我有同样的问题。我认为这里的Gradle错误消息可能会更有用。我调试过了,它没有告诉我它没有找到jar。所以我认为它已经有很长一段时间没能打到远程连接了。 – jeremyjjbrown