java error in eclipse

+1 vote
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\***\eclipse-workspace\seleniumExamples\lib\htmlunit-driver-2.35.1-jar-with-dependencies (3).jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module
Jul 16, 2019 in Selenium by Siddharth
• 130 points
4,897 views

1 answer to this question.

+1 vote
Hey Siddharth, try changing the module version, usually this kind of error occurs when there's a dependency mismatch. Try to use a lower version fo BSFManager module.
answered Jul 16, 2019 by Abha
• 28,140 points
and how to use lower version of BSFManager module?

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.

Related Questions In Selenium

0 votes
1 answer

Login page test script using selenium and java in Eclipse IDE

Here is an example to login to ...READ MORE

answered Apr 23, 2018 in Selenium by Meci Matt
• 9,460 points
13,237 views
0 votes
0 answers
+1 vote
1 answer

getting error in testng java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap

A NoClassDefFoundError is thrown when the JRE can't find ...READ MORE

answered Jun 4, 2020 in Selenium by Ramesh
• 140 points
27,172 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP