简体   繁体   English

Apache IVY错误消息? :数据未加载时无法获取工件

[英]Apache IVY error message? : impossible to get artifacts when data has not been loaded

hey all, I'm getting the following error when trying to build a project via SBT in scala 嘿所有,我在尝试通过scala中的SBT构建项目时遇到以下错误

[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
java.lang.IllegalStateException: impossible to get artifacts 
    when data has not been loaded. IvyNode = log4j#log4j;1.2.14

I don't see any of my projects referencing 1.2.14, nor is it in my .m2 or .ivy repositories. 我没有看到我的任何项目引用1.2.14,也没有在我的.m2或.ivy存储库中。 Not sure where to look for this one 不知道在哪里寻找这个

a full error dump is here: http://pastebin.com/pM7NUhY0 完整的错误转储在这里: http//pastebin.com/pM7NUhY0

thanks 谢谢

I saw this recently with a junit dependency and it kind of drove me nuts trying to fix it. 我最近看到这个有一个junit依赖,这有点让我疯狂试图解决它。 In my case I had to remove the "test" scope from the dependency declaration (in this case in SBT with Scala). 在我的情况下,我不得不从依赖声明中删除“测试”范围(在这种情况下,在SBT中使用Scala)。

Anyway, hope it helps someone. 无论如何,希望它可以帮助某人。

似乎这与IVY-987有关 ,应该在常春藤2.1.0-RC1中修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM