代码之家  ›  专栏  ›  技术社区  ›  Charlie Martin

sbt新scala/scalatest。g8在TransportException上失败

  •  3
  • Charlie Martin  · 技术社区  · 8 年前

    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 )无济于事。这似乎是一个简单的问题,我从初学者教程中获得了这个命令。

    我是从 https://www.scala-lang.org/documentation/getting-started-sbt-track/testing-scala-with-sbt-on-the-command-line.html

    Screenshot

    1 回复  |  直到 8 年前
        1
  •  5
  •   inafalcao    8 年前

    相反,我更喜欢和正常人一起跑步 scala种子。八国集团

    > sbt new scala/scala-seed.g8
    

    This 是一个具有相同类和测试的等效教程。

    scala种子模板已经提供了您想要的结构和测试依赖性。你可以跑步 sbt test