两个类:
user{
Date birthday;
}
FormBean{
String birthday;
}
方法中:
FormBean fb = new FormBean();
fb.setBirthday("2012-11-12");
User user = new User();
ConvertUtils.register(new DateLocaleConverter(), Date.class);
BeanUtils.copyProperties(user, ufb);
最后一行执行出错,异常如题目。BeanUtils.copyProperties(user, ufb);参数类型不匹配,ufb哪里来的