title: Eclipse error message in selenium in TestNg related to maven (org.testng.eclipse.maven.Maven ...)
body: <p>I am trying for the first time using an eclipse of selenium to run a TestNG program
  Its code is:
  When I select Run using TestNG
  I get the following error message - I added below the code
  Can Someone please help me with this issue?
  Thanks in Advanecd</p>
  <pre><code>    import org.openqa.selenium.By;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  import org.testng.annotations.Test;
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.AfterTest;
  
  public class google {
      @Test
      public static void main(String[] args) {
          // TODO Auto-generated method stub
  System.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;C:\\Program Files\\Selenium\\chromedriver.exe&quot;);
          
          WebDriver driver = new ChromeDriver();
          driver.get(&quot;http://google.com&quot;);
          driver.findElement(By.xpath(&quot;//body/div[1]/div[3]/form[1]/div[2]/div[1]/div[1]/div[1]/div[2]/input[1]&quot;)).sendKeys(&quot;1234&quot;);
          driver.findElement(By.cssSelector(&quot;div.L3eUgb:nth-child(2) div.o3j99.ikrT4e.om7nvf:nth-child(3) div:nth-child(2) div.A8SBwf:nth-child(1) div.FPdoLc.tfB0Bf:nth-child(4) center:nth-child(1) &gt; input.gNO89b&quot;)).click();
      }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/KH6Qh.png" rel="nofollow noreferrer">Error message</a></p>