I am getting this error after migrating to 2.4 from 2.3. What is the right import statement I should use?
error: value routesImport is not a member of object play.Play.autoImport.PlayKeys
PlayKeys.routesImport += "se.radley.plugin.salat.Binders._",
I have these import statements:
import sbt._
import Keys._
import play.Play.autoImport._
import PlayKeys._
import WebKeys._
Should be like this:
import play.sbt.routes.RoutesKeys
...
RoutesKeys.routesImport += "se.radley.plugin.salat.Binders._"
来源:https://stackoverflow.com/questions/33900153/play-2-4-value-routesimport-is-not-a-member-of-object-play-play-autoimport-playk