激活器依赖性错误

时间:2015-10-01 04:57:37

标签: scala plugins sbt typesafe-activator

版本

ranks
# MEMORY1 MEMORY2 MEMORY3 MEMORY4 MEMORY5 MEMORY6 MEMORY7 MEMORY8 
#       1       1       2       2       2      NA       2      NA 

解析器

        sbt.version=0.13.8

        name := """sample_app"""

        version := "1.0.0-SNAPSHOT"

        scalaVersion := "2.11.6"

所有插件

        resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"

依赖项错误

我使用 Activator 创建新项目,在命令提示符下执行命令 激活器依赖 结果是

        // The Play plugin
        addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.3")

        // web plugins

        addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")

        addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.6")

        addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")

        addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")

        addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")

        addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")

        addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

使用的版本:

     E:\sample_app>activator dependencies
[info] Loading project definition from E:\sample_app\project
[info] Set current project to sample_app (in build file:/E:/sample_app/)
[error] Not a valid command: dependencies
[error] Not a valid project ID: dependencies
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: dependencies (similar: all-dependencies, rpm-dependencies, allDependencies)
[error] dependencies
[error]             ^

请给我一个解决方案......

1 个答案:

答案 0 :(得分:0)

如果您正在寻找依赖关系,那么激活者暗示您需要一个不同的设置。

待办事项

activator "show allDependencies"