可以从多个模块中访问org.openqa.selenium包 [英] The package org.openqa.selenium is accessible from more than one module
本文介绍了可以从多个模块中访问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.
解决方案:
- 从节点"Modulepath"中删除外部jar.
- 选择节点"Classpath",然后添加外部jar.
- 查看所有jar都在"Classpath"节点下.
这篇关于可以从多个模块中访问org.openqa.selenium包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文