Importing old Play 2.3.4 project into IntelliJ gives SERVER ERROR: HTTPS Required

Importing old Play 2.3.4 project into IntelliJ gives SERVER ERROR: HTTPS Required

将 Play 项目(Play 2.3.4、Scala 2.11.4、sbt 0.13.5)导入 IntelliJ 时 IDEA 我收到以下错误消息:

SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/jline/jline/2.11/jline-2.11.pom

根据最新的IntelliJ docs, only Play versions 2.4 and later are supported. So I downloaded an old IntelliJ version from 2016 (2016.2.5), which should have worked because the project was in active development with this IDE version back then. After finding a this article stating the Maven repo has deprecated http in favor of https, I'm not sure if the IntelliJ version mismatch is even the cause of this issue. However, the build was ok in 2016, and now I cannot fix this problem even if I create a settings.xml for Maven as described here...我仍然得到同样的错误。我还尝试在 IntelliJ->Preferences->Build->Build Tools->Maven->User Settings File 中启用 "Override" 设置,并将其指向另一个文件夹中的 settings.xml 副本。在两个 IntelliJ 版本(2019.3.3 和 2016.2.5)中,我直接在 IDE.

中安装了 Scala 插件

我做错了什么?我怎样才能让 IntelliJ 使用我自定义的镜像 settings.xml?

命令行已经 运行 仅通过覆盖 sbt 存储库 ,基于 IDE 的构建仍然无法识别此文件。 最后通过将 sbt 版本至少提高一个次要版本解决了它,>=0.13.6 (),从那时起 sbt 本身使用到 Maven 存储库的安全连接。