Lombok继承与Eclipse
Lombok inheritance and Eclipse
龙目岛:1.16.18
日食:氧气
我有一个对象 @Getter
和 @Setter
作为基础对象:
@Getter
@Setter
@EqualsAndHashCode(of="uuid")
public abstract class BaseEntity implements Serializable,Auditable {
Auditable
需要 setCreatedBy,它包含在 BaseEntity 中。
但是,扩展 BaseEntity 的以下对象收到错误 "The type Login must implement the inherited method Auditable.setCreatedBy(String)"
@Getter
@Setter
public class Login extends BaseEntity{
查看大纲窗格,setCreatedBy
在 BaseEntity
上正确生成,但在 Login
上不存在。我配置错了什么?
不确定发生了什么,但完全重建最终修复了它。不确定那是问题所在,因为自从升级 lombok 后我已经完成了几个完整的构建。
龙目岛:1.16.18
日食:氧气
我有一个对象 @Getter
和 @Setter
作为基础对象:
@Getter
@Setter
@EqualsAndHashCode(of="uuid")
public abstract class BaseEntity implements Serializable,Auditable {
Auditable
需要 setCreatedBy,它包含在 BaseEntity 中。
但是,扩展 BaseEntity 的以下对象收到错误 "The type Login must implement the inherited method Auditable.setCreatedBy(String)"
@Getter
@Setter
public class Login extends BaseEntity{
查看大纲窗格,setCreatedBy
在 BaseEntity
上正确生成,但在 Login
上不存在。我配置错了什么?
不确定发生了什么,但完全重建最终修复了它。不确定那是问题所在,因为自从升级 lombok 后我已经完成了几个完整的构建。