报错: Generic cannot be resolved to a type
代码都没有,谁知道怎么修改。从错误提示上看,是你的泛型类型不能识别,是不是定义泛型对象的时候缺少类型参数,或者泛型函数缺少类型。