-
Notifications
You must be signed in to change notification settings - Fork 52
Error on Play 2.4 #65
Comments
Also getting this error, a quick search reveals it to be due to play.api.mvc changing the spelling: The error is on Binders.scala:42 |
+1. any ideas hot to fix it? |
+1. same problem |
Any progress? |
I'm not actively working on this project. If anyone feels they want to carry the torch they are welcome to take over. |
The plugin needs migrated to a module to work with 2.4 https://www.playframework.com/documentation/2.4.x/PluginsToModules |
In Play 2.4, that trait has been renamed JavascriptLiteral, with one "t", to fix the spelling. Here is my commit to it martende@aeaaff6 |
@martende How can I get your build? Do I need to recompile your code? |
@angeloh: you can clone my version. and make 'sbt publish-local' and than use this version I don't know where can I put public libs that sbt understand. |
Hi, I'm using your library.
When I compile my project I got:
My built.sbt is:
name := """panorama-settings"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.6"
lazy val dbD = Seq(
"org.mongodb" %% "casbah" % "2.8.0",
"com.typesafe.play.plugins" %% "play-plugins-redis" % "2.3.1",
"com.novus" %% "salat" % "1.9.9",
"se.radley" %% "play-plugins-salat" % "1.5.0" // ORM for mongo
)
libraryDependencies ++= Seq(
jdbc,
cache,
ws,
specs2 % Test
) ++ dbD
routesImport += "se.radley.plugin.salat.Binders._"
TwirlKeys.templateImports += "org.bson.types.ObjectId"
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
The text was updated successfully, but these errors were encountered: