简体   繁体   English

超时解析sbt-plugin

[英]Timeout resolving sbt-plugin

I'm trying to run a simple play-scala example, but I've some problem launching activator because I have a lot of connection timeout. 我正在尝试运行一个简单的play-scala示例,但是我有一些问题启动激活器,因为我有很多连接超时。 I've only created the application with activator and tried to launch it. 我只用激活器创建了应用程序并尝试启动它。 No development or custom configuration. 没有开发或自定义配置。 I'm using play 2.4.2. 我正在使用游戏2.4.2。

It seems that many of the dependencies that it tries to resolve do not exist: if I try to open the url in browser I obtain only "The request path was not found". 似乎它尝试解决的许多依赖项不存在:如果我尝试在浏览器中打开url,我只获得“找不到请求路径”。 Examples are the following: 示例如下:

https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars/rjs/2.1.15/ivys/ivy.xml https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.webjars/rjs/2.1.15/ivys/ivy.xml

https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-rjs/scala_2.10/sbt_0.13/1.0.7/ivys/ivy.xml https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-rjs/scala_2.10/sbt_0.13/1.0.7/ivys/ivy.xml

This behaviour wastes a lot of time without any value. 这种行为浪费了很多时间而没有任何价值。 Is it possible to avoid non-existing path or minimize connection timeout time? 是否可以避免不存在的路径或最小化连接超时时间?

Thanks, Michele. 谢谢,米歇尔。

As suggested in the comment, please try the latest version of Play. 正如评论中所建议的那样,请尝试最新版本的Play。 As of 2018, it's 2.6.16. 截至2018年,它是2.6.16。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM