I am facing issue while running my test case

0 votes
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\user\Desktop\Eclipes\Selenium_jar\libs\bundle-jars.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module

I have been facing this issue from 2 days I have updated my JDK and download the latest version of chrome driver, even while creating a new java project I not selected the option "module.info.java" after this I'm getting this error

Can someone please help me, please.

May 6 in Selenium by Nikhil
• 120 points
110 views

1 answer to this question.

0 votes

The error that u got probably implies that the Java Compiler was unable to compile the program due to InvalidModuleDescriptor.

Possibly your main issue is the incompatibility between the version of the binaries as either you are using Java v9Java v10, or Java v11.

Try to Uninstall the existing JDK v9 / Java v10 / JDK v11 and install the latest Java v8.

Hope this helps!

answered May 6 by Sirajul
• 57,940 points

Related Questions In Selenium

0 votes
0 answers

Getting Java Null Pointer Exception on running the test case in Seleniumn.Can someone pls let me know where i need to fix in order to progress

Below is the Error: java.lang.RuntimeException: java.lang.NullPointerException at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:49) at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:131) at ...READ MORE

Sep 11 in Selenium by sandhya
• 180 points
138 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
3,531 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,538 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,596 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
2,865 views
0 votes
1 answer
0 votes
1 answer

How can I automate Menu links of a website and validate page titles? Please help.

You could probably try following these steps ...READ MORE

answered Nov 29, 2019 in Selenium by Sirajul
• 57,940 points
118 views