Gagan Agrawal
Gagan Agrawal

Reputation: 139

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

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?

Upvotes: 2

Views: 5227

Answers (2)

Andrey Pushin
Andrey Pushin

Reputation: 196

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

Upvotes: 0

marios
marios

Reputation: 8996

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.

Upvotes: 1

Related Questions