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