play application 구현 중에 이 error 메시지는 반드시 한 번은 보는 듯.
[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: play#sbt-plugin;2.2.0: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. [warn] play:sbt-plugin:2.2.0 (sbtVersion=0.12, scalaVersion=2.9.2) [warn] sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.2.0: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214)
sbt.plugin의 버전과 group, artifact, revision을 변경해 줘야 한다.
From
// 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" % Option(System.getProperty("play.version")).getOrElse("2.1.0"))
to
// Use the Play sbt plugin for Play projects addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")
그리고 같은 폴더의 build.properties 파일에서 sbt version도 아래와 같이 변경해야 함.
sbt.version=0.13.0
다시 실행하니 성공
[info] Loading project definition from /Users/yangsaerohoon/Project/workspace/play-authenticate/test-app/project [info] Set current project to play-authenticate-tests (in build file:/Users/yangsaerohoon/Project/workspace/play-authenticate/test-app/) _ _ __ | | __ _ _ _ | '_ \| |/ _' | || | | __/|_|\____|\__ / |_| |__/ play 2.2.0 built with Scala 2.10.2 (running Java 1.7.0_25), http://www.playframework.com > Type "help play" or "license" for more information. > Type "exit" or use Ctrl+D to leave this console. [play-authenticate-tests] $
댓글 없음:
댓글 쓰기