天天看点

BeanUtils.copyProperties之大坑

两个不同的包(springframework , apache)中有一个相同名字的类,相同的方法,方法的作用相同,参数个数相同。

就是参数位置不同,是相反的。?

import org.springframework.beans.BeanUtils;

BeanUtils.copyProperties之大坑

import org.apache.commons.beanutils.BeanUtils

BeanUtils.copyProperties之大坑