So I started my selenium and i found this error and i can’t fix it
Exception in thread “main” java.lang.IllegalAccessError: class org.openqa.selenium.remote.http.RetryRequest (in module org.seleniumhq.selenium.http) cannot access class dev.failsafe.function.CheckedFunction (in unnamed module @0x442675e1) because module org.seleniumhq.selenium.http does not read unnamed module @0x442675e1
at org.seleniumhq.selenium.http/org.openqa.selenium.remote.http.RetryRequest.(RetryRequest.java:39)
at org.seleniumhq.selenium.http/org.openqa.selenium.remote.http.ClientConfig.(ClientConfig.java:33)
at org.seleniumhq.selenium.chrome_driver/org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:83)
at org.seleniumhq.selenium.chrome_driver/org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:51)
at introduction/introduction.seleniumIntroduction.main(seleniumIntroduction.java:12)
I create maven project with selenium 4.20.0 version, chrome browser 125.0.6422.61 and chrome driver 125.0.6422.60 and i attached an image with the error
I want to start my selenium and open chrome browser, pls help me
hunny is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.