有什么办法可以解决play 2.3.0配置错误?

Is there any way to resolve play 2.3.0 configuration error?

我正在尝试 运行 activator clean compile 命令在我的本地机器上设置播放框架项目,但它给我 Https required 错误 .我是框架的新手所以如果有人知道如何解决请帮助我 it.I 我在下面附上错误截图。

发生这种情况是因为 maven.org 存储库不再接受 http 请求(截至 1 月 15 日),不幸的是 play 2.3.0 配置为使用 http。

解决方案是用 https 变体替换 http 调用,但我不知道该调用在哪里或如何更改它。我也尝试在 build.sbt 中添加解析器,但系统似乎继续使用原始的 http 调用:(

如果有发现,我会回来报告的。

I am trying to run activator clean compile command to setup play framework project on my local machine

EOLed Activator in 2017. Please use the latest distribution of sbt代替。

对于 cleancompile 的批量执行,sbt(shell 脚本 + 启动器)应该是 Activator 的直接替代品。

Activator 唯一有趣的功能,模板,现在通过 sbt new 命令被高级 Giter8 集成所包含。

看起来我是 运行 (0.13.0) 的 sbt 版本,其中包含有问题的 http maven 存储库引用。

尝试更改 build.properties 中的以下行:

sbt.version=0.13.18

如果您刚刚起步,我还建议您从更高版本的 Play Framework 开始。当前稳定版本为2.8.0 (https://www.playframework.com/getting-started)