Playframework 播放框架激活器错误
创建新项目后无法运行Activator命令Playframework 播放框架激活器错误,playframework,playframework-2.0,typesafe-activator,Playframework,Playframework 2.0,Typesafe Activator,创建新项目后无法运行Activator命令 raghul@raghul-Inspiron-N4010:~/Documents/activator-dist-1.3.5/UZAdmin$ activator [info] Loading project definition from /home/raghul/Documents/activator-dist-1.3.5/UZAdmin/project /home/raghul/Documents/activator-dist-1.3.5/UZAd
raghul@raghul-Inspiron-N4010:~/Documents/activator-dist-1.3.5/UZAdmin$ activator
[info] Loading project definition from /home/raghul/Documents/activator-dist-1.3.5/UZAdmin/project
/home/raghul/Documents/activator-dist-1.3.5/UZAdmin/build.sbt:17: error: not found: value routesGenerator
routesGenerator := InjectedRoutesGenerator
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
我的build.sbt
文件:
name := """UZAdmin"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaJdbc, cache, javaWs )
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
您的
build.sbt
缺少导入:
import play.sbt.routes.RoutesKeys._
name := """UZAdmin"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaJdbc, cache, javaWs )
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
您的
build.sbt
缺少导入:
import play.sbt.routes.RoutesKeys._
name := """UZAdmin"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaJdbc, cache, javaWs )
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
您的
build.sbt
缺少导入:
import play.sbt.routes.RoutesKeys._
name := """UZAdmin"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaJdbc, cache, javaWs )
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
您的
build.sbt
缺少导入:
import play.sbt.routes.RoutesKeys._
name := """UZAdmin"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaJdbc, cache, javaWs )
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
你能给我们看看你的
build.sbt
文件吗?名称:=“UZAdmin”“”版本:=“1.0-SNAPSHOT”lazy val root=(文件中的项目(“.”)。enablePlugins(PlayJava)ScalarVersion:=“2.11.6”libraryDependencies++=Seq(javaJdbc,cache,javaWs)//Play提供了两种类型的路由器,一种期望其操作被注入,另一种则//需要,传统样式,静态访问其操作。routesGenerator:=InjectedRoutesGenerator能否向我们展示您的build.sbt
文件?名称:=“UZAdmin”“”版本:=“1.0-SNAPSHOT”lazy val root=(文件中的项目(“.””)。enablePlugins(PlayJava)ScalarVersion:=“2.11.6”libraryDependencies++=Seq(javaJdbc、cache、javaWs)//Play提供了两种类型的路由器,一个期望其动作被注入,另一个,遗留样式,静态地访问其动作。routesGenerator:=InjectedRoutesGenerator能否向我们展示您的build.sbt
文件?名称:=“UZAdmin”“”版本:=“1.0-SNAPSHOT”lazy val root=(文件中的项目(“.””)。enablePlugins(PlayJava)ScalarVersion:=“2.11.6”libraryDependencies++=Seq(javaJdbc、cache、javaWs)//Play提供了两种类型的路由器,一个期望其动作被注入,另一个,遗留样式,静态地访问其动作。routesGenerator:=InjectedRoutesGenerator能否向我们展示您的build.sbt
文件?名称:=“UZAdmin”“”版本:=“1.0-SNAPSHOT”lazy val root=(文件中的项目(“.””)。enablePlugins(PlayJava)ScalarVersion:=“2.11.6”libraryDependencies++=Seq(javaJdbc、cache、javaWs)//Play提供了两种类型的路由器,一个期望其动作被注入,另一个,遗留样式,静态地访问其动作。routesGenerator:=InjectedRoutesGenerator