The type Collection is not generic; it cannot be parameterized with arguments <? extends E>

后端 未结 13 474
清酒与你
清酒与你 2020-12-05 03:02

I have a strange problem with Eclipse Galileo.
I set Java 1.6 as my JRE. On this line of code

List templates = new ArrayList ();

I see

13条回答
  •  渐次进展
    2020-12-05 03:33

    put the entry "JRE System Library..." at the top in project, properties, java build path, order and export

提交回复
热议问题