下载失败。手动获取jar并将其放在./.lib/0.12.2/sbt-launch.jar中

时间:2017-10-16 17:18:17

标签: scala sbt scalatra

我试图运行./sbt文件会引发错误

Detected sbt version 0.12.2
Starting sbt: invoke with -help for other options
Downloading sbt launcher 0.12.2:
  From  http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.2/sbt-launch.jar
    To  ./.lib/0.12.2/sbt-launch.jar
Download failed. Obtain the jar manually and place it at ./.lib/0.12.2/sbt-launch.jar

1 个答案:

答案 0 :(得分:0)

我手动 sbt-launch.jar 放在 ./。lib / 0.12.2 / 目录中,然后工作正常。

./.lib/0.12.2/sbt-launch.jar