I'm starting to build a set of simple automated tests. I have:
WebDriver driver = new FirefoxDriver(); driver.get("http://www.yahoo.com");
On the first line (where I instantiate the WebDriver), I am getting the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
What have I missed? I know what
NoClassDefFoundError means - the class can't be found, but I'm not familiar with the class in question here. I have selenium-java-2.45.0 on my buildpath.