そこで、5 か月前に放棄した Play フレームワーク プロジェクトの作業を開始したいと思いました。プロジェクトはまだバージョン 2.0.4 で、2.1.1 が最新バージョンであることがわかりました。このチュートリアルを実行してプロジェクトを更新しました: http:// www.playframework.com/documentation/2.1.1/Migration . (addSbtPlugin("play" % "sbt-plugin" % "2.1.1") を実行して現在のバージョンに一致させる場合を除く)
しかし、きれいにプレイしようとするとすぐに、次のエラーが発生します。
[error] sbt.IncompatiblePluginsException: Binary incompatibility in plugins detected.
[error] Note that conflicts were resolved for some dependencies:
[error] asm:asm
[error] asm:asm-tree
[error] asm:asm-util
[error] jline:jline
[error] junit:junit
[error] com.jcraft:jsch
[error] commons-logging:commons-logging
[error] commons-codec:commons-codec
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
このリンク以外のトピックについてはあまり見つけることができませんが、何が問題を修正したのか、明らかに質問者も理解していません。また、移行チュートリアルにすべての依存関係の例を追加しようとしましたが、何も変わりませんでした。
これは解決可能ですか、それとも 2.0.4 に戻すだけですか?
EDIT 1-5-12' 設定ファイルを追加しました。
Build.scala
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
val appName = "Workshop0182Host"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
// Add your project dependencies here,
)
val main = play.Project(appName, appVersion, appDependencies).settings(
// Add your own project settings here
)
}
plugins.sbt
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.1.1")
build.properties
sbt.version=0.12.2
私はやろうとしましaddSbtPlugin("play" % "sbt-plugin" % "2.1.0")
たが、play clean
addSbtPluginが間違ったバージョンを使用していると言っています。play clean-all は正常に実行されましたが、その後は何も変わりませんでした
EDIT 1-5-12' ログを追加
またはを実行しようとしたときのエラー ログへのリンク ( pastebin ) を次に示します。この問題は scala のバージョンに関係していると思いますが、そこからどこに行けばよいかわかりません。play clean
play run