Java中List的初始化问题

List<Blog> bList = sqlSession.selectList("getAllBlog");//用的mybatis
报错信息:
The type List is not generic; it cannot be parameterized with arguments <Blog>
手掌心
浏览 519回答 1
1回答

MM们

List接口导错包,是java.util.List
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java