问题
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