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
1,285 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
• 27,800 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
4,564 views
0 votes
0 answers
+1 vote
0 answers

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

getting this error java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap here is the code: package ...READ MORE

Feb 14 in Selenium by Aarti
• 130 points
444 views
0 votes
2 answers

TestNG error:- Cannot find class in classpath

The above link didn't work it means ...READ MORE

answered Feb 12 in Selenium by Rashmi Reddy PR
12,721 views