Each view in Play 2.0 is Scala function which contains arguments, most probably you have in the index.sacala.html String declared at the beginning:@(message: String),它应该是您的表格:在控制器中:final static Form<MyModel> myForm = form(MyModel.class);public static Result blank() { return ok(formNew.render(myForm));}并在视图中:@(myForm: Form[MyModel]) 这篇关于Play Framework 2.0-views.render引发异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-14 06:31