このドキュメントに従って、sbt を使用して新しい Play アプリケーション myFirstApp を作成しました。myFirstAppbuild.sbt
フォルダーとplugins.sbt
inmyFirstApp/project
フォルダーにあります。
ただし、sbt
myFirstApp から実行すると次のエラーが発生します。
~/ScalaWorkspace/myFirstApp/build.sbt:7: error: not found: value playScalaSettings
playScalaSettings
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
この問題を解決するにはどうすればよいですか?
更新 1:このエラーの取得:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play#routes-compiler_2.9.2;2.1.1: not found
[warn] :: play#templates-compiler_2.9.2;2.1.1: not found
[warn] :: play#console_2.9.2;2.1.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play#sbt-link;2.1.1!sbt-link.jar
[warn] :: play#play-exceptions;2.1.1!play-exceptions.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: play#routes-compiler_2.9.2;2.1.1: not found
unresolved dependency: play#templates-compiler_2.9.2;2.1.1: not found
unresolved dependency: play#console_2.9.2;2.1.1: not found
download failed: play#sbt-link;2.1.1!sbt-link.jar
download failed: play#play-exceptions;2.1.1!play-exceptions.jar