BUG05 - 【copyProperties方法使用的时候必须对拷贝源判空】package org.springframework.beans;

报错信息

java.lang.IllegalArgumentException: Source must not be null
    at org.springframework.util.Assert.notNull(Assert.java:115) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:600) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:546) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]

copyProperties(source ,target)

猜你喜欢

转载自www.cnblogs.com/zhazhaacmer/p/12207348.html