运行我的sbt
构建,我得到以下未解决的依赖项。
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#sbt-link;2.2.0: not found
[warn] :: com.typesafe.play#play-exceptions;2.2.0: not found
[warn] :: com.typesafe.play#routes-compiler_2.10;2.2.0: not found
[warn] :: com.typesafe.play#templates-compiler_2.10;2.2.0: not found
[warn] :: com.typesafe.play#console_2.10;2.2.0: not found
[warn] :: net.contentobjects.jnotify#jnotify;0.94: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
我的项目结构如下所示:
parent
|
--> sbtApp1
--> playApp
--> sbtApp2
--> project
--> Build.scala
--> plugins.sbt
--> build.sbt
我的 parent/project/plugins.sbt 有以下内容:
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")
我在 parent/build.sbt 中添加了以下行,但我仍然遇到编译时失败。
libraryDependencies += "play" % "play_2.10" % "2.1.0"