当前位置:编程学习 > JAVA >>

【求救】提示The type List is not generic;怎么办?

提示错误:
Multiple markers at this line
- The type List is not generic; it cannot be parameterized with 
 arguments <String>
- Syntax error, parameterized types are only available if source level 
 is 5.0
这是怎么回事?该怎么解决?》
--------------------编程问答-------------------- JDK版本太低不支持泛型?
只有1.5及以上list支持泛型? --------------------编程问答-------------------- 我的jdk是1.5的。。 --------------------编程问答-------------------- 检查编译级别 看是不是1.5 --------------------编程问答-------------------- 看是不是List导错包了。。 我之前也碰到过
补充:Java ,  Web 开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,