java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter. when using Selenium-Java 3.5.1 or above

后端 未结 3 1416
Happy的楠姐
Happy的楠姐 2020-11-30 14:47

I am wondering if anyone can give me an idea why I\'m getting the following error when I use Selenium-Java 3.5.1 or above -

java.lang.IllegalAccessError: tr         


        
3条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 15:03

    Check in you POM.XML file you will have 2 entry for "selenium-chrome-driver" dependency. so, both dependency there and it is confuse which one need to take and giving you Exception. My one is working after this change.

提交回复
热议问题