首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

List is a raw type. References to generic type List<E> should be parameter

2012-03-01 
List is a raw type. References to generic type ListE should be parameterized原来在程序中没有出现

List is a raw type. References to generic type List<E> should be parameterized
原来在程序中没有出现过这个问题:一下子在程序中出现
100个警告:
List is a raw type. References to generic type List<E> should be parameterized  


比如:
 List test = (ArrayList)session.getAttribute("test");


其中的List也会出现如题的问题





包含的库都有,请问是什么原因呀???


[解决办法]
jdk 5.0 ?
[解决办法]

探讨

jdk 5.0 ?

热点排行