3
失败当我尝试用这个命令创建ScalaTest例如:SBT新斯卡拉/ scalatest.g8上TransportException
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: [email protected]: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://github.com/scala搜索,他们没有这个scalatest.g8和scalatest-example.g8。你确定它是来自Scala吗? – inafalcao
你想要得到这个吗? https://github.com/bernhard-42/scala-test.g8 – inafalcao
请参阅上文,它来自scala-lang.org上的示例。 –