import org.springframework.beans.BeanUtils; # bean2 是新建的空对象 BeanUtils.copyProperties(bean1, bean2); 相关文章: 2022-12-23 2021-09-25 2022-01-14 2017-12-12 2022-02-06 2021-10-08