Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

[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

like image 945
James Avatar asked May 27 '11 22:05

James


2 Answers

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

like image 193
Mario Avatar answered Nov 16 '22 13:11

Mario


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.

like image 3
Janx Avatar answered Nov 16 '22 15:11

Janx