After I upgrade play framework from version 2.3 to 2.4, the build finished without errors but after accessing the SBT shell and compile the project, I got the following error:
[trace] Stack trace suppressed: run last project-app-server/compile:playRoutes for the full output.
[error] (project-app-server/compile:playRoutes) java.lang.NoSuchMethodError: play.routes.compiler.static.twirl.forwardsRouter_Scope0$forwardsRouter._display_(Ljava/lang/Object;Lscala/reflect/Manifest;)Lplay/twirl/api/Appendable;
Check if you are using the sbt plugin
sbt-pack. Downgrading from version0.12to0.8.0and removing it from large parts of the build seems to fix the twirl compilation issue that shows up when going from Play 2.3 to Play 2.4 in one particular case. Hope this helps!