I am having some issues with the Play framework. It won't compile anymore, giving the following error:
java: cannot find symbol
symbol: variable debug
location: class controllers.Application
Indeed this line in Apllication.java is underlined in red in IDEA, but as far as I remember that has always been the case:
I do have a debug.scala.html file under views. If I change the above return statement to return ok();
everything compiles fine, but that of course removes all functionality.
PS: The fact that that IDEA thinks that there are errors in the Play code, even when there are none and it all compiles fine, makes debugging somewhat difficult, I find. (As in screenshot above.) Is there a fix for this?