I haven't seen that specific error before, but it sounds like it probably relates to your Java or Eclipse configuration.
What version of Eclipse and JDK do you have installed?
What is the "build path" for the project showing? Is any library missing or "unbound"?