Yesterday I pushed an update to my Heroku application but the online version does not seem to execute the most recent code. Specifically, a new route I added results in an "Action not found" error visible here and the Akka job I schedule in Global.onStart
is not started. It is not writing to the log at least.
My conf/routes
file contains line
GET /json/matches controllers.FeedDaemon.matches()
The corresponding Controller exists and implements this action
def matches = Action { implicit request =>
Ok(Cache.get(keyMatches) match {
case Some(o) => o.asInstanceOf[String]
case None => ""
})
}
Needless to say, it works locally. The heroku build did not report any errors and just went through.
I'm using play 2.2.2. My application contains a git submodule and is an sbt multi project build. Heroku detects the git submodule though. If the multi project were the problem, I'd expect build errors or ClassNotFoundExceptions
though.