转载自:http://blog.csdn.net/breaking1800/article/details/24563221
一个为org.springframework.beans.BeanUtils,
另一个是org.apache.commons.beanutils.BeanUtils,
这两个类在不同的包下面,而这两个类的copyProperties()方法里面传递的参数赋值是相反的。
例如:
a,b为对象
BeanUtils.copyProperties(a, b);
BeanUtils是org.springframework.beans.BeanUtils,a拷贝到b
BeanUtils是org.apache.commons.beanutils.BeanUtils,b拷贝到a