我正尝试在Windows7机器上(在代理服务器后面)创建一个新的lagom scala项目,但收到错误信息"org.eclipse.jgit.api.errors.TransportException: git://github.com/lagom/lagom-scala.g8.git: Connection time out“
下面是命令: sbt new lagom/lagom-scala.g8
我设置了代理环境变量http_proxy,但仍然收到此错误。你有什么想法idea..to能让它工作吗?
发布于 2017-04-20 18:45:44
在https://github.com/lagom/lagom/issues/683上有一个关于这方面的讨论
结论是,这是sbt 0.13.13的限制,sbt 0.13.13使用git协议克隆模板,不能使用替代协议。
您可以通过强制使用更新版本的sbt并指定存储库的完整https URL来解决此问题,如下所示:
sbt new -Dsbt.version=0.13.15 https://github.com/lagom/lagom-scala.g8https://stackoverflow.com/questions/43480958
复制相似问题