我已经下载了scala源代码,正如自述文件所述,我可以使用IntelliJ编译代码。
/ src / IntelliJ下的README.md告诉我先运行“ sbt IntelliJ”
我多次运行此命令,但出现错误:
[error] Could not determine commit date + SHA: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.
[error] SERVER ERROR: GATEWAY_TIMEOUT url=https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/02fe2ed93766323a13f22c7a7e2ecdcd84259b6c/test/files/lib/annotations.jar
[error] SERVER ERROR: GATEWAY_TIMEOUT url=https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/b1ec8a095cec4902b3609d74d274c04365c59c04/test/files/lib/genericNest.jar
[error] SERVER ERROR: GATEWAY_TIMEOUT url=https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/3794ec22d9b27f2b179bd34e9b46db771b934ec3/test/files/lib/macro210.jar
[error] SERVER ERROR: GATEWAY_TIMEOUT url=https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/cd33e0a0ea249eb42363a2f8ba531186345ff68c/test/files/lib/nest.jar
[error] SERVER ERROR: GATEWAY_TIMEOUT url=https://repo.lightbend.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap/1b11ac773055c1e942c6b5eb4aabdf02292a7194/test/files/speclib/instrumented.jar
[错误]服务器错误:GATEWAY_TIMEOUT url
所有需要从repo.lightbend.com下载的文件失败
如何解决?