It appears as though there is a binary incompatibility with libraries built w/ scala 2.9 and 2.10 regarding default parameters; see: Scala 2.10.0 RC2 and optional parameters
The solution was to modify the project-code/project/Build.scala
to set the scalate dependency to "scalate-core_2.10" % "1.6.1"
resulting in:
object ApplicationBuild extends Build {
val appName = "play2-scalate"
val appVersion = "0.1-SNAPSHOT"
val appDependencies = Seq(
"org.fusesource.scalate" % "scalate-core_2.10" % "1.6.1"
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(
)
}
There were other changes to the /project
files that needed to be made:
/project-code/project/build.properties
-sbt.version=0.11.2
+sbt.version=0.12.2
/project-code/project/plugins.sbt
// Use the Play sbt plugin for Play projects
-addSbtPlugin("play" % "sbt-plugin" % "2.0.1")
+addSbtPlugin("play" % "sbt-plugin" % "2.1.0")
Hope this helps.