java.util.List list=dao.findAll();
编译时后报错:the type List is not generic; it cannot be parameterized with arguments
我的hibtest是一个bean
我用的是jdk1.6,Compiler compliance level 已经选择6.0
哪位高手帮我看看,十分感谢!
[b]问题补充:[/b]
hibtest 是一个类名
[b]问题补充:[/b]
在补一个啥问题,我怎么回复人家的回答呀?
[b]问题补充:[/b]
是这样的一个类
hibtest bean=new hibtest();
[b]问题补充:[/b]
编译时后报错是这样的:
the type List is not generic; it cannot be parameterized with arguments
[b]问题补充:[/b]
谢谢两位大哥,原来我的MyEclipse的Intalled jres设置是1.4的,谢谢咯