读书人

List is a raw type. References to g

发布时间: 2012-03-01 10:25:47 作者: rapoo

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 ?

读书人网 >Java Web开发

热点推荐