在 eclipse3.2 + tomcat5.0 + jdk1.5 编译下面程序不能通过 private Map <String, String> lzwParameter = new HashMap <String, String> (); 提示错误为:The type Map is not generic; it cannot be parameterized with arguments <String, String> 请大家帮忙!急!!!!!!!!!!!!!!
看import部分对不对,然后将eclipse编译级别设为5.0,如2楼所说
还有就是map的包是不是导错了,
其它情况没遇到过