I have imported the following and still get an error when using sendKeys();
sendKeys();
import org.openqa.selenium.*; import org.openqa.selenium.firefox.*;
You could try this, similar issue has been answered here #sendKeys Issue
myElement .sendKeys(new String[] { "text" }); //You could create a string array
or simply
myElement .sendKeys(new String { "text" });