title: Selenium WebDriver cannot be resolved to a type
body: <p>I have the following code:</p>
  
  <pre><code>package grid;
  
  import java.net.MalformedURLException;
  import java.net.URL;
  
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.remote.DesiredCapabilities;
  import org.openqa.selenium.remote.RemoteWebDriver;
  
  
   public class TestGrid {
  
  static Webdriver driver;
  static String nodeUrl;  
  
  public static void main(String[] args) {
      // TODO Auto-generated method stub
  
      nodeUrl = "http://192.168.100.4:5555/wd/hub";
      //DesiredCapabilities capabilities = DesiredCapabilities.
  
  
  }
  
  }
  </code></pre>
  
  <p>I receive the following errors:</p>
  
  <pre><code>Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
  
  at grid.TestGrid.main(TestGrid.java:16)
  </code></pre>
  
  <p>I already added the 2 Jars outside the "Lib" folder, but still doesn't work. What could be the problem? </p>