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
make java buildpath reference to greater than or equal to java 1.5
or you try to add the "import java.util.List" statement then you can see that
eclipse is saying it is conflicting with some other List type
for example it may be conflicting with com.lowagie.xx.xxx.List etc try to avoid these import
statements