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

查看:131
本文介绍了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依赖,这有点让我疯狂试图解决它。在我的情况下,我不得不从依赖声明中删除测试范围(在这种情况下,在SBT中使用Scala)。

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天全站免登陆