当我将以下代码添加到我的项目中时
Form<User> filledForm2 = userSignupForm.bindFromRequest();
它通过显示一条错误消息停止工作,其中指出:
Execution exception
[IllegalStateException: JSR-303 validated property 'Password' does not have a corresponding accessor for data binding - check your DataBinder's configuration (bean property versus direct field access)]
我的User
课是这样的:
class User{
String username;
String Password;
}
现在如何在 java play 框架中检查/修改 DataBinder 的配置?