jfinal 报错

The method addMapping(String, String, Class<? extends Model<?>>) in the type ActiveRecordPlugin is not applicable for the arguments (String, String, Class<LawWrit>),


public class LawWrit extends BaseModel<LawWrit>

public class BaseModel<T extends BaseModel> extends Model<T>



评论区

tbynet

2019-11-14 11:46

只能说BaseModel写的有问题,试试这个:public class BaseModel<M extends BaseModel<M>> extends Model<M>

热门反馈

扫码入社