Apache IVY 错误信息?: 未加载数据时无法获取工件 [英] Apache IVY error message? : impossible to get artifacts when data has not been loaded

查看:32
本文介绍了Apache IVY 错误信息?: 未加载数据时无法获取工件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在 scala 中尝试通过 SBT 构建项目时遇到以下错误

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

我没有看到任何引用 1.2.14 的项目,我的 .m2 或 .ivy 存储库中也没有.不知道在哪里可以找到这个

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

完整的错误转储在这里:http://pastebin.com/pM7NUhY0

a full error dump is here: http://pastebin.com/pM7NUhY0

谢谢

推荐答案

我最近看到这个带有一个 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.

这篇关于Apache IVY 错误信息?: 未加载数据时无法获取工件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆