When I attempt to deploy a Scala class to GAE I receive this error in the logs :
Uncaught exception from servlet java.lang.NoClassDefFoundError: scala/Predef$ at com.myapp.controller.FirstTest.getString(FirstTest.scala:7) at com.gogofindit.myapp.RedirectController.displaySearch(RedirectController.java:20)
The app works locally, its just when I deploy to app engine that I receive the error.
According to this doc Scala is supported : https://developers.google.com/appengine/docs/
Here is the Scala class :
class FirstTest {
def getString = {
println("In scala")
"search"
}
}
Do I need to update a config file within the project so that the Scala classes are compiled ?