playframework 2.0 - Unhelpful message about uncorrect template with the play framework -


why following error in play?

compilation error not found: value title in c:\tmp\var\hello-play-java\app\views\main.scala.html @ line 5. 2@import helper._ 3@import search.termsquery 4 5@(title: string, content: html, myform : form[termsquery])  6 7<!doctype html> 8<html> 9<head> 10    <title>@title</title> 

because obscenely, arguments template should come before import statements, if use imports. saves else 30 minutes cost me.


Comments