本文介绍了Eclipse IDE的Java Build Path已更改。我选择哪个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试关注Selenium的一些教程,但此时却感到难过。
右键单击项目,然后选择属性。
在Properties对话框中,单击Java Build Path。
单击Libraries选项卡,然后单击
单击Add external JARs ..

I am trying to follow some tutorials on Selenium, but get stumped at this point. Right-click on "project" and select Properties.On the Properties dialog, click on "Java Build Path".Click on the Libraries tab, and thenClick on "Add External JARs..

添加外部JARS按钮显示为灰色,并禁用。
对话框显示Modulepath和Classpath。
如果我选择其中任何一个,按钮都会启用。
问题是,我选择哪一个?
我正在尝试将selenium WebDriver添加到Java Build Path中。

The Add External JARS button is grayed out, and disabled.The dialog shows Modulepath and Classpath. If I pick either of these, the buttons are enabled.The question is, which one do I pick? I am trying to add the selenium WebDriver's into Java Build Path.

推荐答案

选择 Classpath 对于上一个/遗留行为。

Select Classpath for the previous/legacy behavior.

模块路径适用于模块化Java 9应用程序。

Modulepath is for modular Java 9 applications.

这篇关于Eclipse IDE的Java Build Path已更改。我选择哪个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 19:23