首页 文章

无法在代理后面创建lagom scala项目

提问于
浏览
0

我试图在Windows 7机器上创建一个新的lagom scala项目(在代理后面),但是我收到错误消息“org.eclipse.jgit.api.errors.TransportException:git://github.com/lagom/lagom-scala . g8.git:连接超时“

这是命令:sbt new lagom / lagom-scala.g8

我有代理环境变量http_proxy设置,但我仍然得到此错误 . 任何想法的想法...使这项工作?

1 回答

  • 0

    https://github.com/lagom/lagom/issues/683对此进行了讨论

    结论是这是sbt 0.13.13的限制,它使用git协议来克隆模板,不能使用替代协议 .

    您可以通过强制更新版本的sbt并指定存储库的完整https URL来解决此问题,如下所示:

    sbt new -Dsbt.version=0.13.15 https://github.com/lagom/lagom-scala.g8
    

相关问题