title: IllegalStateException: impossible to get artifacts when data has not been loaded for Guava 12.0?
body: <p>In a Java Play 2.1.1 app I get the following error:</p>
  
  <pre><code>[myproject] $ update
  [info] Updating {file:/C:/path/myproject/}myproject...
  [info] Resolving ...
  [error] impossible to get artifacts when data has not been loaded. IvyNode = com.google.guava#guava;12.0
  [error] (*:update) java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = com.google.guava#guava;12.0
  [error] Total time: 230 s, completed 17.05.2013 19:16:41
  </code></pre>
  
  <p><strong>Build.scala</strong></p>
  
  <pre><code>"com.google.guava" % "guava" % "14.0.1",
  "org.mydependency" % "mydependency" % "1.0-SNAPSHOT" changing() exclude("org.jboss.netty","netty") exclude("com.google.guava", "guava") exclude("log4j", "log4j"),
  </code></pre>
  
  <p>The thing that causes this error (it all worked fine before) is a dependency change within mydependency:</p>
  
  <p>old:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.thinkaurelius.titan&lt;/groupId&gt;
      &lt;artifactId&gt;titan-berkeleyje&lt;/artifactId&gt;
      &lt;version&gt;0.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>new:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.thinkaurelius.titan&lt;/groupId&gt;
      &lt;artifactId&gt;titan-cassandra&lt;/artifactId&gt;
      &lt;version&gt;0.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I don't want guava 12.0 anyway and it is and was excluded.</p>
  
  <p>Can I tell Play 2.1.1 to use a newer Ivy? </p>
  
  <p>In <strong>plugins.sbt</strong> I have:</p>
  
  <pre><code>addSbtPlugin("play" % "sbt-plugin" % "2.1.1")
  </code></pre>
  
  <p><strong>Temporary fix</strong>
  As someone mentioned here <a href="https://stackoverflow.com/questions/6158192/apache-ivy-error-message-impossible-to-get-artifacts-when-data-has-not-been-l">Apache IVY error message? : impossible to get artifacts when data has not been loaded</a> manually adding the dependency solves it: I've added </p>
  
  <pre><code>"com.google.guava" % "guava" % "12.0"
  </code></pre>
  
  <p>and the problem is gone.</p>