I can't import enums for some reason
843789May 17 2009 — edited May 17 2009In a class I made, I can't seem to import an enum. Eclipse tells me "The import de.game.ground.Constants.Board cannot be resolved." Board is the name of my enum sitting in the class Constants.
What's so weird is that other classes have imported the enum and are using it just fine. But for some reason this one class won't. These classes are all in the same packet. What's up with that? It makes no sense to me that other classes can import it, but I get an error message trying to import it to this class.
After some googling, I tried adding import java.util.*, even though the other classes didn't need it, but that didn't seem to make a difference. I also made sure my "compiler compliance" is set to 1.6. I can't think of anything else to try.