您的位置:首页 > 其它

The type List is not generic

2013-10-18 09:41 579 查看
错误:The type List is not generic; it cannot be parameterized with
arguments

代码如下:

public List
getAllActivity() {

return
(List)
getSqlMapClientTemplate().queryForList("Activity.getAllActivity");

}

原因:import java.awt.List;不支持泛型。修改引用uitl包,import java.util.List;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐