Play 2.6和Scala 2.12的兼容SBT版本

问题描述 投票:-2回答:1

我正在使用play 2.16.13和Scala 2.12.6.我可以使用SBT 0.13.8,并试图升级到下一个版本。

当使用SBT 1.3.10时,得到了一些错误,如下所示,谁能告诉我上述play和scala的SBT兼容版本。

[error] Server access Error: 连接超时:连接url=https:/repo.scala-sbt.orgscalasbtsbt-plugin-releasesorg.apache.commonscommons-parent39。[错误]服务器访问错误。连接超时:连接url=https:/repo.scala-sbt.orgscalasbtsbt-plugin-releasescommons-iocommons-io2.5jarscommon[错误]服务器访问错误。连接超时:连接url=https:/repo.scala-sbt.orgscalasbtsbt-plugin-releasescom.typeafe.playrun-support_2.102。.

scala playframework sbt
1个回答
0
投票

第一个支持sbt 1的Play版本是什么?2.6.6. 你可以在 bintray 找到 Play sbt 插件的发布。

https:/dl.bintray.complayframeworksbt-plugin-releasescom.typesafe.plugin。

和快照在奏鸣曲类型

https:/oss.sonatype.orgcontentrepositoriessnapshotscomtypesafeplay。

Note Play的sbt插件叫什么,可能会让人困惑。sbt-plugin. (我希望它叫 sbt-play). 例如,所有支持sbt 1的Play版本都在

https:/dl.bintray.complayframeworksbt-plugin-releasescom.typesafe.psbt-pluginscala_2.12sbt_1.0。


0
投票

这个问题是因为使用了一个旧的sbt,我升级到了一个新的。删除了.ivy2和.sbt文件夹后,开始使用最新的sbt工作。

© www.soinside.com 2019 - 2024. All rights reserved.