Error occurred during initialization of boot layer java.lang.module.FindException: Module Selenium not found

+2 votes
Encounter the error message "Error occurred during initialization of boot layer java.lang.module.FindException: Module Selenium not found" when i click on Run MyFirstJaveProgram button. How can i resolve this issue?
Nov 14, 2019 in Selenium by nguyenton
• 140 points
11,879 views
Thank you mam it works

1 answer to this question.

+2 votes
This might probably be coz while creating your own class you might have also accepted to create a default class as prescribed by your IDE. If that's the case try this: go to PROJECT folder -> src folder -> Default package keep only one class(in which you had written code) and delete another one.
answered Nov 27, 2019 by Sirajul
• 58,130 points
thanks a lot
Hello Md Kashif. Please register at Edureka community and upvote the answer if it has helped you. You also get credits for every contribution(ask a question, answer, comment or even upvote) you make.

Thank you
Thanks a lot.. this really helps
It is still showing the same error... is there any other tip...

Please I need it
Try removing the selenium dependencies from the ModulePath to ClassPath under the Build path in eclipse.

That should work!

Related Questions In Selenium

–1 vote
1 answer

Selenium XPath error:- Element not found

The reason for Element not found exception ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,520 points
9,581 views
+1 vote
3 answers

java.lang.ClassNotFoundException: okhttp3.ConnectionPool - Selenium Error

The only reason for ClassNotFoundException is if ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,520 points
6,813 views
0 votes
1 answer

Java.lang.CharSequence cannot be resolved error while using sendKeys() using Selenium Webdriver

You could try this, myElement .sendKeys(new String[] { ...READ MORE

answered Apr 4, 2018 in Selenium by Johnathon
• 9,090 points
1,686 views
0 votes
1 answer

Firefox Error: “Your connection is not secure” while launching driver with Selenium 3.0.1 using Java

Download Firefox 55 beta and set capabilities.setCapability("acceptInsecureCerts", true); Here ...READ MORE

answered Sep 17, 2018 in Selenium by Meci Matt
• 9,460 points
736 views
0 votes
1 answer

Getting error saying element not found in selenium

Hey @Jino, The things I figured out ...READ MORE

answered Dec 20, 2018 in Selenium by Shuvodip
2,662 views
0 votes
1 answer

Selenium + Java - drag and drop not working on selenium 3.8

How about you try adding the below ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,520 points
2,811 views
+3 votes
1 answer

How to read excel file numeric data of all rows and column in selenium? I have 10 rows and 5 column but I read Only String value not a Numeric value?

Hey, @Mahendra, check this thread https://www.edureka.co/community/52170/read-numeric-data-from-excel-sheet-using-selenium-webdriver It deals with ...READ MORE

answered Jan 27 in Selenium by Sirajul
• 58,130 points
402 views