[已解决]java.lang.NoClassDefFoundError: com/google/common/base/Function

在这里插入图片描述
为了解决inject的报错,pom已经被我改乱了,结果最后即便改过来,项目编译报了以上错误。
据说是缺少一个jar包,我用的是selenium-2.46.0
所以需要下载对应版本:selenium-server-standalone-2.46.0.jar
下载地址参见:【亲测可用】各版本selenium jar包 的下载地址,包括selenium-server-standalone.jar、selenium、selenium-server



猜你喜欢

转载自blog.csdn.net/qq_39704682/article/details/88024679