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
I had a similar problem:
enum can't be resolved to a type
Eclipse offered to import Enum instead.
I went to
Compatible JREs pane. After rebuild enum was recognized properly.