Play 2.0-RC2가 heroku에서 작동하지 않습니다
-
09-12-2019 - |
문제
Play 2.0-RC2에서 작은 앱을 만들었는데, heroku에 push가 안되네요.내가 얻는 오류는 다음과 같습니다.
[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에 푸시하는 데 성공한 것 같습니다. -scala-anorm-json-coffeescript-jquery-heroku 포함)
해결책
RC2 종속성 문제가 발생한 것 같습니다.방금 RC2 프로젝트를 RC3으로 업데이트했는데 Heroku에서 제대로 실행되었습니다.다음 줄을 업데이트하십시오. project/plugins.sbt
RC3으로 업데이트하려면:
addSbtPlugin("play" % "sbt-plugin" % "2.0-RC3")
제휴하지 않습니다 StackOverflow