Unable to derive module descriptor for C:\Selenium\selenium-server-standalone-3.9.1.jar. Provider class org.apache.bsf.BSFManager not in module

+2 votes
I am getting this error while running my first selenium script with Eclipse. Can you tell me whats wrong ?

Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for C:\Selenium\selenium-server-standalone-3.9.1.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module
Aug 6, 2019 in Selenium by anonymous
3,575 views

Delete module-info.java file or any other module file that was created at the time of creating the project. That will resolve the issue.

3 answers to this question.

0 votes
please answer this m getting same issue
answered Jan 26 by anonymous

Hey, did u try deleting module-info.java file or any other module file that was created at the time of creating the project? I guess that should resolve the issue!

Refer to this thread https://www.edureka.co/community/52114/java-error-in-eclipse? 

It deals with the same query!

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 Jan 27 by Sirajul
• 58,020 points
+1 vote
Move the Selenium jar file from module path to class path in Configure build path.
answered Sep 16 by tester

Related Questions In Selenium

+1 vote
2 answers

Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module

The InvalidModuleDescriptorException usually occurs when you are trying to read ...READ MORE

answered May 14 in Selenium by Sirajul
• 58,020 points
904 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
1,621 views
0 votes
1 answer

Unable to connect to chromedriver 127.0.0.1:9515 on Amazon Linux AMI server

The issue seems to be only with ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,510 points
872 views
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,510 points
3,520 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,569 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,573 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,619 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,913 views