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

后端 未结 13 490
清酒与你
清酒与你 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:34

    For those, who will get there from Google: the problem was with cryptix library. When I removed it from java build path the project is compiled sucesfully.

提交回复
热议问题