Provider class org eclipse jetty http Http1FieldPreEncoder not in module

+1 vote
I imported jars such as selenium server and selenium stand alone server. However its giving me error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for /home/haider/Desktop/selenium-server-3.7.1/libs/bundle-jars.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module
Dec 10, 2019 in Selenium by Haider
• 130 points

recategorized May 13, 2020 by Gitika 1,398 views

2 answers to this question.

0 votes
Hi Haider,

Have you been able to solve above issue, I'm having same issue but can't see any possible solutions.

Thank you,

Swapna
answered May 13, 2020 by Swapna
0 votes

The InvalidModuleDescriptorException usually occurs when you are trying to read a malformed module descriptor or otherwise cannot be interpreted as a module descriptor. It usually indicates that there are issues with the java project/Java package/Java class within a java package.

Try installing the latest version of JDK 8u222 and execute tests also check the selenium version/chrome driver which is compatible with it.

answered May 14, 2020 by Sirajul
• 59,030 points

Related Questions In Selenium

0 votes
1 answer
0 votes
2 answers

System.setProperty is not recogonized in Eclipse.

Try adding the selenium jar files to ...READ MORE

answered Feb 4, 2019 in Selenium by Shashank
• 1,370 points
2,166 views
0 votes
0 answers

How to hover element when action class is not working in my Selenium framework ?

When i am writing the code to ...READ MORE

Feb 15, 2019 in Selenium by Raishul
2,072 views
0 votes
1 answer

What happens if I don't create a Package and add a Class directly under the Project in Eclipse?

Hello Avantika, its not considered as a ...READ MORE

answered Jul 16, 2019 in Selenium by Anvi
• 14,150 points
156 views
+1 vote
1 answer
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,520 points
4,895 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,700 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
3,477 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, 2020 in Selenium by Sri
• 3,010 points
4,176 views