stuck at "Getting org.scala-sbt sbt 0.13.6 ..." when running sbt in terminal

Similar problem with How to use sbt behind authenticated proxy?. I tried with the given answer and problem still there.

When I run sbt in terminal, it shows and stucks at :

Getting org.scala-sbt sbt 0.13.6 ...

additional information:

 sbt --version
 sbt launcher version 0.13.6

How could I fix it?


Solution 1:

This is quite old post and my answer may not be completely relevant. But here is my experience:

  1. I am using sbt 0.13.8
  2. Getting org.scala-sbt sbt 0.13.8 ...
  3. I have got this line hanging for some time - between 5 to 10 minutes.
  4. And then it started to download stuff.

So my solution is that you have to wait a bit.

Solution 2:

There is an update log ...

$ tail -f $HOME/.sbt/boot/update.log 

Execute the above command in another terminal to see the progress. Using -v option works as others already indicated as well.