Hi! I have a strange problem with eclipse galileo. I set java 1.6 as jre. And for this line of the code
List templates = new ArrayList ();
I see such error in eclipse problem list:
The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
But I don't have any problems with building this project with ant. How can I fix it? Looks like it is an eclipse problem, but because of this errors I can't compile/publish my project from IDE. Thanks.