When I have added this following code to my project
Form<User> filledForm2 = userSignupForm.bindFromRequest();
It has stopped working by showing an error message which states:
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)]
My User
class was like that:
class User{
String username;
String Password;
}
Now how can to check/modify DataBinder's configuration in java play framework?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…