title: java.lang.module.FindException: while using selenium
body: <p>I am fairly new to selenium, and I was trying to use some of the scripts being used in tutorials for my practice. I downloaded all the required .JAR files (Chrome drivers, Selenium Java and Stand Alone server) and added it to the path in Eclipse. </p>
  
  <pre><code> Below is the Code which I am trying to run to access a Weblink and then trying to verify if a user is able to log in successfully or not. 
  
        package learnautomation;
  
        import org.openqa.selenium.By;
        import org.openqa.selenium.WebDriver;
        import org.openqa.selenium.chrome.ChromeDriver;
  
        public class practice {
  
  public static void main(String[] args) {
  
      System.setProperty("webdriver.chrome.driver", "Mypath\\chromedriver.exe");
  
  
      WebDriver driver = new ChromeDriver();
  
      driver.get("http://www.gcrit.com/build3/admin/");
      driver.findElement(By.name("username")).sendKeys("admin");
      driver.findElement(By.name("password")).sendKeys("admin@123");
      driver.findElement(By.id("tdb1")).click();
  
      String url = driver.getCurrentUrl();
  
      if (url.equals("http://www.gcrit.com/build3/admin/index.php")){
      System.out.println("Successful"); 
      }
      else {
      System.out.println("Unsuccessful");
      }
      driver.close();
      }
      }
  </code></pre>
  
  <p>While doing this I am getting this error: </p>
  
  <pre><code>    "Error occurred during initialization of boot layer
       java.lang.module.FindException: Module seleniumnew not found"  
  
     Also, import org.openqa.selenium.chrome.ChromeDriver; it says this is not accessible as well when I just hover over it.   
  </code></pre>