I have imported the following and still get an error when using sendKeys();
sendKeys();
import org.openqa.selenium.*; import org.openqa.selenium.firefox.*;
Faced the same kind of issue.
Issue got resolved on upgrading to Eclipse Luna and then changing the compiler version to 1.8
Compiler version 1.8 is not available with the previous version