Hello There please let me know the solution for the below issue that I am facing for a long time :
when I am adding stand-alone jars I am getting: Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for F:\selenium\selenium software\webdriver\selenium3\selenium-server-standalone-3.141.59.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module
After removing the stand-alone jars I am getting this issue :Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/firefox/FirefoxDriverat web.webdriver.main(webdriver.java:8)
Please let me know the exact solution or the root cause of the problem asap
Regards,
Janmejai
Instructor
Ashish Thakur Replied on 29/06/2019
Hello,
I would like to inform you that you need to add all the jars that came with selenium.
In addition to this, I can see that you have configured JavaSE 11 in your project, please install JDK 8 and then configure your project to use this.