可以从多个模块中访问org.openqa.selenium包 [英] The package org.openqa.selenium is accessible from more than one module

查看:203
本文介绍了可以从多个模块中访问org.openqa.selenium包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用:

  • Firefox 56.0.1
  • 硒3.6.0
  • Windows 10家庭版
  • Gecko驱动程序0.19.0

错误消息是

可以从多个位置访问org.openqa.selenium包 模块:client.combined,net.bytebuddy"

The package org.openqa.selenium is accessible from more than one module: client.combined, net.bytebuddy"

推荐答案

当您在ModulePath中添加了外部jar时,就会发生这种情况.

This happens when you have added the external jars in the ModulePath.

解决方案:

  1. 从节点"Modulepath"中删除外部jar.
  2. 选择节点"Classpath",然后添加外部jar.
  3. 查看所有jar都在"Classpath"节点下.

这篇关于可以从多个模块中访问org.openqa.selenium包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆