【发布时间】:2019-06-26 07:32:18
【问题描述】:
这是最小的reproduction
我正在使用 Eclipse Version: 2019-03 M1 (4.11.0 M1), Build id: 20190117-2133
有问题的 jar 是 Selenium,但它们是主项目中唯一的多版本 jar,所以我认为这可能是问题的一部分
基本上,Eclipse 在构建时会出错
selenium.firefox.driver cannot be resolved to a module
并且该模块下的所有类的导入都会出错
The import org.openqa.selenium cannot be resolved
或其一些变体。有时是org声称无法解决
重要的是,这确实在 Maven 下成功编译
【问题讨论】:
-
看起来 Java 11 不支持 Selenium。
标签: java eclipse selenium module eclipse-2019-03