IllegalAccessError thrown by new ChromeDriver() on OSX (Java)

后端 未结 3 1461
时光说笑
时光说笑 2021-02-18 18:32

Getting this under Eclipse straight out of the gate.

Code:

    System.setProperty(\"webdriver.chrome.driver\" ,  \"/path/to/selenium/chromedriver\");
            


        
3条回答
  •  无人及你
    2021-02-18 19:08

    Setting this back to 22.0 helped for me.

    Version 22.0 didn't fix the problem for me, but 19.0 did.

    compile group: 'com.google.guava', name: 'guava', version: '19.0'
    

提交回复
热议问题