gpt4 book ai didi

eclipse - org.openqa.selenium 包可以从多个模块访问

转载 作者:行者123 更新时间:2023-12-04 00:03:18 25 4
gpt4 key购买 nike

我正在使用:

  • 火狐 56.0.1
  • Selenium 3.6.0
  • Windows 10 家庭版
  • 壁虎驱动程序 0.19.0

  • 错误信息是

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



    Screenshot of error

    最佳答案

    当您在 ModulePath 中添加外部 jar 时会发生这种情况。

    解决方案 :

  • 从节点“Modulepath”中删除外部 jar。
  • 选择节点“Classpath”,然后添加外部 jar。
  • 查看所有 jar 是否都在节点“Classpath”下。
  • 关于eclipse - org.openqa.selenium 包可以从多个模块访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46834695/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com