beanutils.copypropertie()时出错Unhandled exceptions: java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
出错信息:
Unhandled exceptions: java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
原因是:
导入的BeanUtils类没有导对
解决方法:
应该导入: import org.springframework.beans.BeanUtils;