Apache IVY 错误消息? :数据未加载时无法获取工件
大家好,当我尝试在 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
我没有看到任何项目引用 1.2.14,也没有在我的 .m2 或 .ivy 存储库中。不知道在哪里寻找这个
完整的错误转储在这里:http://pastebin.com/pM7NUhY0
谢谢
hey all, I'm getting the following error when trying to build a project via SBT in scala
[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. Not sure where to look for this one
a full error dump is here: http://pastebin.com/pM7NUhY0
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
似乎这与 IVY-987 有关,应该在 ivy 2.1 中修复。 0-RC1。
Seems that this is related to IVY-987 and should be fixed in ivy 2.1.0-RC1.
我最近在 junit 依赖项中看到了这个问题,这让我在试图修复它时发疯了。就我而言,我必须从依赖声明中删除“测试”范围(在本例中是使用 Scala 的 SBT)。
无论如何,希望它能帮助别人。
I saw this recently with a junit dependency and it kind of drove me nuts trying to fix it. In my case I had to remove the "test" scope from the dependency declaration (in this case in SBT with Scala).
Anyway, hope it helps someone.