Incompatible library version selenium / guava

前端 未结 1 796
囚心锁ツ
囚心锁ツ 2021-01-19 18:42

My app has a hard dependency on com.google.guava:guava:23.3 or superior

+--- com.github.ben-manes.caffeine:guava:2.6.0
|    +--- com.github.ben-         


        
相关标签:
1条回答
  • 2021-01-19 19:27

    As you have a hard dependency on com.google.guava:guava:23.3 using org.seleniumhq.selenium:selenium-java:3.0.1 may put you on cross roads. But Selenium Release Notes clearly mentions the following guava dependencies :

    • Selenium v2.49.0 : Bump guava to version 19
    • Selenium v3.1.0 : Requires an update to the latest guava version 21.0
    • Selenium v3.5.0 : Bump guava to version 22.
    • Selenium v3.5.1 : Bump guava to version 23.
    • Selenium v3.12.0 : guava-23.6-jre
    • Selenium v3.13.0 : guava-25.0-jre
    • Selenium v3.14.0 : guava-25.0-jre
    • Selenium v3.141.0 : guava-25.0-jre
    • Selenium v3.141.5 : guava-25.0-jre
    • Selenium v3.141.59 : guava-25.0-jre

    Conclusion

    So Selenium v3.12.0 have got guava-23.6-jre which clearly fits to your requirement.

    0 讨论(0)
提交回复
热议问题