I was using J2EE Eclipse Indigo, and I have three class declare like this:
public interface ClassA { public static enum TYPE { TYPE1, TYPE2 }; } public i
You mistyped inteface for interface.
inteface
interface
Maybe your compiler is too old, so that it doesn't know that enum is a keyword.
enum