Receiver class org.openqa.selenium.safari.SafariDriverService$Builder does not define or inherit an implementation of the resolved method 'abstract com.google.common.collect.ImmutableList createArgs()' of abstract class org.openqa.selenium.remote.ser

Hello, I am new to safari, and the safari web driver and I am trying to write a java program using selenium to open a web page....

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.safari.SafariDriver;


// import org.openqa.selenium.Saf
// I have not imported the following
// import org.openqa.selenium.safari.SafariDriver;
// because this does not provide me with the SafariDriver.
public class Test_SafariDemo
{
    // the purpose of this class is to test the Safari driver
    // Written by Michael John Little
    // Based on a Java program from...
    // https://www.browserstack.com/guide/run-selenium-tests-on-safari-using-safaridriver

    public static void main(String[] args)
    {
        // lets Instantiate a Safari driver class
        WebDriver drvr =null;
        try
        {

            drvr = new SafariDriver();
        }
        catch (Exception e)
        {
            System.out.print(e);
        }


        // lets Launch the Google website
        drvr.navigate().to("http://www.google.com/");

        // lets click on the search box and send a value
        drvr.findElement(By.id("lst-ib")).sendKeys("BrowserStack");

        // click the search button
        drvr.findElement(By.name("btnK")).click();

        //close the browser
        //drvr.close();

    }// close public static void main(String[] args)


} // public class Test_SafariDemo

But I am getting the following [exception] message when I execute my code...

Exception in thread "main" java.lang.AbstractMethodError: Receiver class org.openqa.selenium.safari.SafariDriverService$Builder does not define or inherit an implementation of the resolved method 'abstract com.google.common.collect.ImmutableList createArgs()' of abstract class org.openqa.selenium.remote.service.DriverService$Builder.
	at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:358)
	at org.openqa.selenium.safari.SafariDriverService.createDefaultService(SafariDriverService.java:75)
	at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:60)
	at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:49)
	at Test_SafariDemo.main(Test_SafariDemo.java:25)

Process finished with exit code 1

Any suggestions? Are there configuration options that I need to set when I instantiate the safariDriver class with?

Does anyone have a suggestion on how I can resolve this?

Receiver class org.openqa.selenium.safari.SafariDriverService$Builder does not define or inherit an implementation of the resolved method 'abstract com.google.common.collect.ImmutableList createArgs()' of abstract class org.openqa.selenium.remote.ser
 
 
Q