stuck at “Getting org.scala-sbt sbt 0.13.6 …” when running sbt in terminal

后端 未结 8 1113
忘掉有多难
忘掉有多难 2021-01-30 07:40

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

8条回答
  •  无人及你
    2021-01-30 08:14

    It's quite a late answer, but I encountered the same problem working behind a proxy. If this is your case, you should run export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost= -Dhttp.proxyPort=" before running sbt.

    If you are still unsure if it's going ahead with the downloading, you should try launching sbt with the verbose option sbt -v, as suggested by @evan912. If you had a problem with the proxy, after setting it you should see some [info] downloading logging on your console.

提交回复
热议问题