Friday, 19 July 2013

[Solved] sbt.ResolveException: download failed: org.slf4j#slf4j-api;1.6.6!slf4j-api.jar

So, I was working on Scala with Play Framework for some time now. I have to compile the source code provided by the client from time to time and I have faced this issue nearly everytime whenever I use a new developer machine.

When I run the "play clean", "play update", "play compile" or the "play run" command on the provided project, I get the error as sbt.ResolveException: download failed: org.slf4j#slf4j-api;1.6.6!slf4j-api.jar.

Below is a screenshot of this error message:

I tried a bunch of ways to solve this issue, but only one method seems to work.

The first thing you need to do is edit the /project/plugins.sbt file and add the latest version of sbt-plugin in the addSbtPlugin section.

Now, delete the ivy directory present at ~/.ivy2
Then, go ahead and delete the below mentioned files:

  • <path to Play Framework home directory>/.sbt.ivy.lock
  • <path to Play Framework home directory>/cache/org.slf4j
  • <path to Play Framework home directory>/local/org.slf4j
Then, run the same play command which you ran earlier.
As shown in the below screenshots, this time the command ran successfully without any sort of error.



  1. Awesome, thank you for posting this.

  2. Thank you! These sort of things are really hurting the broad acceptance of Play. :(

  3. THE SBT IS SUCH a SICK BASTARD , those who created it are MOTHER FUCKERS

  4. nice your site thanks for sharing love you all team good work keep it up
    cheque printer | inventory management software dubai

  5. I am very happy to read this. Appreciate your sharing
    Jugar juego de frozen en línea gratis, los nuevos de princesa de Disney juegos frozen - la princesa encantadora y linda. Divertirse frozen!

  6. Posts shared useful information and meaningful life, I'm glad to be reading this article and hope to soon learn the next article. thank you
    download descargar facebook gratis para Android celular and download free descargar facebook apk en español, descargar facebook plus , descarga facebook

  7. When you're tired, you want to relax after a stressful working hours, you need to have time to take care of the kids active.
    Please visit our website and play exciting flash games.
    Thanks you for sharing!
    Friv 4

  8. Rolex Watches Authentic Mens & Ladies Rolex Datejust, President Watches for Sale at

  9. dumpster rental alexandria Galaxy Transfer is based in Northern Virginia and is a division of EnviroSolutions, Inc. GT was purchased by EnviroSolutions, Inc. in June 2013.

  10. The elimination of this error is possible by the following simple steps. The users can use this information Cheap Custom Essays when working with the device.

  11. I want to note that this is a very corrupted mistake that many of us face and it spends our time very often.