首页 > 编程语言 > 详细

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

时间:2020-01-17 20:57:15      阅读:59      评论:0      收藏:0      [点我收藏+]

报错信息

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)

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

原文:https://www.cnblogs.com/zhazhaacmer/p/12207348.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!