我正在使用lombok为我的模型生成构造函数、getter和setter。当我尝试使用lombok为我的实体类生成构造函数时,我得到以下错误
Error:(14, 8) error: Entities and Pojos must have a usable publicfield:unmatched, param:arg1 -> matched field:unmatched, param:arg2 ->
我有一个POJO,我正在嵌入一个房间实体中;请注意,POJO是在一个库模块中定义的;public class Person { @NonNullPojos必须有一个可用的公共构造函数。您可以有一个空的构造函数或一个参数与字段匹配的构造函数(按名称和类型)。错误:无法为字段找到setter。
如果我从构造</em
= name
var images: Images = images我的图像类是 @Relation(parentColumnInt = id var width: Int = width}
编译此项目时,房间库将返回错误错误:无法在com.test.room.entity.Images中找到父实体列origi