小弟用eclipse6.6写jsp程序时,相关包已经引入,用Set和Iterator定义对象老报错,内容如下: Multiple annotations found at this line:
-The type Set/Iterator is not generic;it cannot be parameterized with argument <artile>
-Syntax error,parameterized types are only available is source level is 5.0
(artile是我定义的一public类) 请问是eclipse版本的问题吗,6.6应该和5.0兼容的啊,如果不是版本问题那该怎么解决,请指教啊,多谢!(原来用6.0没有此问题)
-The type Set/Iterator is not generic;it cannot be parameterized with argument <artile>
-Syntax error,parameterized types are only available is source level is 5.0
(artile是我定义的一public类) 请问是eclipse版本的问题吗,6.6应该和5.0兼容的啊,如果不是版本问题那该怎么解决,请指教啊,多谢!(原来用6.0没有此问题)
root causeorg.apache.jasper.JasperException:Unable to compile class for JSPAn error occurred at line:122 in the jsp file: /article.jsp
Generated sevrvlet error:
The method itertor() is undefined for the type Set<Article>...请指教!
方法itertor ( )是未定义类型设置<Article>
Windows-Preferences-java-compiler-Compile compliance level-5.0