我在 play 2.0-RC2 中创建了一个小应用程序,但我无法将它推送到 heroku。我得到的错误是:
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] play:sbt-plugin:2.0-RC2 (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn]
[error] {file:/tmp/build_lhsutbwdl8uo/project/}default-be7cb3/*:update: sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.0-RC2: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? ! Failed to build app with SBT 0.11.0
! Heroku push rejected, failed to compile Scala app
我认为 heroku 只是不支持 play 2.0-RC2,但显然 James Ward 成功将 play 2.0-RC2 应用程序推送到 heroku :/ (http://www.jamesward.com/2012/02/21/play-framework-2 -with-scala-anorm-json-coffeescript-jquery-heroku)