播放升级到 2.4 但无法获取 sbt-plugin
Posted
技术标签:
【中文标题】播放升级到 2.4 但无法获取 sbt-plugin【英文标题】:Play upgrade to 2.4 but failed to fetch sbt-plugin 【发布时间】:2015-05-19 21:58:11 【问题描述】:[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#sbt-plugin;2.4.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.play:sbt-plugin:2.4.0 (scalaVersion=2.10, sbtVersion=0.13)
这是我的 plugins.sbt:
resolvers ++= Seq(
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
"Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0")
【问题讨论】:
【参考方案1】:Play Framework 2.4
尚不可用,但您可以使用候选版本。如需最新版本,请查看Play Framework
github home page。
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0-RC5")
编辑:Play Framework 2.4
现在可用。
【讨论】:
以上是关于播放升级到 2.4 但无法获取 sbt-plugin的主要内容,如果未能解决你的问题,请参考以下文章
播放 2.4 值 confDirectory 不是对象 play.PlayImport.PlayKeys 的成员
Play Ebean 从 2.4 升级到 2.5 后不生成 Id