【发布时间】:2017-09-29 04:55:59
【问题描述】:
当我尝试使用此命令创建 ScalaTest 示例时:
sbt new scala/scalatest-example.g8 fails on TransportException
我得到以下信息:
[info] Set current project to scala (in build file:/Users/chasrmartin/Dropbox/Etudes/Scala/)
[error] org.eclipse.jgit.api.errors.TransportException: git@github.com:scala/scalatest-example.g8.git: Auth fail
[error] at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
[error] at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:193)
我从下一个(例如this SO question)尝试了几种解决方法,但均无济于事。看来这一定是一个简单的问题,我从初学者教程中得到了这个命令。
更新
【问题讨论】:
-
我在 Scala repo github.com/scala 搜索过,他们没有这个 scalatest.g8 也没有 scalatest-example.g8。你确定它来自 scala?
-
见上文,它来自 scala-lang.org 的示例。
-
谢谢。这似乎是一个身份验证问题。