sbt stuck at Getting org.scala-sbt sbt 0.13.8 ... on Mac OS X Yosemite with Java 8 and scala 2.11.6

5.1k Views Asked by At

All of my sbt commands (sbt assembly, sbt package etc..) get's stuck with following message

Getting org.scala-sbt sbt 0.13.8 ...

I am using Mac OS X Yosemite, Java - 1.8.0_45, Scala - 2.11.6, Sbt - 0.13.8

Any idea why my sbt commands always stuck with above message?

2

There are 2 best solutions below

0
On

It seems that SBT still has issues with Java 8. I found these posts 1, 2 to be useful. Downgrading to Java 7 is a much safer choice for now.

0
On

Sometimes sbt stuck when downloading files. You can periodically check size ~/.ivy2 folder and if size isn't grow kick sbt process and rerun sbt.

For me only after 5 kicks sbt download all files!!!

sbt stuck while downloading