java.lang.IllegalArgumentException: argument type mismatch
两个类:
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);
最后一行执行出错,异常如题目。