其他分享
首页 > 其他分享> > BeanUtils.copyProperties之大坑

BeanUtils.copyProperties之大坑

作者:互联网

大坑

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

import org.springframework.beans.BeanUtils;
在这里插入图片描述
import org.apache.commons.beanutils.BeanUtils
在这里插入图片描述

标签:大坑,相同,springframework,copyProperties,org,apache,import,BeanUtils
来源: https://www.cnblogs.com/jpfss/p/12110805.html