报错信息:
1、mybatis-plus source is null for getProperty(null, “name”)
2、mybatis-plus Error evaluating expression ‘et.name != null’.
原因:项目里pom.exe里mybatis-plus-boot-starter的版本为3.0,entity实体类不支持null
com.baomidou mybatis-plus-boot-starter 3.0-RELEASE
升级版本:
com.baomidou mybatis-plus-boot-starter 3.4.0
当时莫名其妙下不了其他版本,被迫下载了3.0版本,遇到这种情况,也是无语了,第二天成功更改版本。疑似IDEA或网络出错。



