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

徘徊边缘 提交于 2019-12-01 13:58:59

问题


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


回答1:


Seems that this is related to IVY-987 and should be fixed in ivy 2.1.0-RC1.




回答2:


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.



来源:https://stackoverflow.com/questions/6158192/apache-ivy-error-message-impossible-to-get-artifacts-when-data-has-not-been-l

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!