playframework - Play Framework Activator Error -
cannot run activator command after new project creation
raghul@raghul-inspiron-n4010:~/documents/activator-dist-1.3.5/uzadmin$ activator [info] loading project definition /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?
my build.sbt
file :
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 2 styles of routers, 1 expects actions injected, // other, legacy style, accesses actions statically. routesgenerator := injectedroutesgenerator
your build.sbt
missing import:
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 2 styles of routers, 1 expects actions injected, // other, legacy style, accesses actions statically. routesgenerator := injectedroutesgenerator
Comments
Post a Comment