如何在 Eclipse 中为 Java EE 安装 JBoss AS/WildFly 服务器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4057328/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I Install JBoss AS / WildFly Server in Eclipse for Java EE
提问by sanrodari
When I went to the "new server wizard" I can't find the category for JBoss AS.
当我转到“新服务器向导”时,我找不到 JBoss AS 的类别。
When I clicked "Download new server adapter" I don't get any JBoss AS adapter in the list.
当我单击“下载新服务器适配器”时,列表中没有任何 JBoss AS 适配器。
回答by BalusC
Install the most recent JBoss Tools.
安装最新的JBoss 工具。
- Go to Help > Install New Software.
Set Work withto the following URL depending on Eclipse version:
- 4.7 (Oxygen): http://download.jboss.org/jbosstools/oxygen/development/updates/
- 4.6 (Neon): https://download.jboss.org/jbosstools/neon/stable/updates/
- 4.5 (Mars): http://download.jboss.org/jbosstools/mars/stable/updates/
- 4.4 (Luna): http://download.jboss.org/jbosstools/updates/stable/luna/
- 4.3 (Kepler): http://download.jboss.org/jbosstools/updates/stable/kepler/
- 4.2 (Juno): http://download.jboss.org/jbosstools/updates/stable/juno/
- 3.7 (Indigo): http://download.jboss.org/jbosstools/updates/stable/indigo/
- 3.6 (Helios): http://download.jboss.org/jbosstools/updates/stable/helios/
- In the results, make sure that you've Group items by catagorychecked and then select Web and Java EE developmentsomewhere near the bottom.
- Next, etc, Finish.
- 转至帮助 > 安装新软件。
根据 Eclipse 版本将Work with设置为以下 URL:
- 4.7(氧气):http: //download.jboss.org/jbosstools/oxygen/development/updates/
- 4.6(霓虹灯):https: //download.jboss.org/jbosstools/neon/stable/updates/
- 4.5(火星):http: //download.jboss.org/jbosstools/mars/stable/updates/
- 4.4(月神):http: //download.jboss.org/jbosstools/updates/stable/luna/
- 4.3(开普勒):http: //download.jboss.org/jbosstools/updates/stable/kepler/
- 4.2(朱诺):http: //download.jboss.org/jbosstools/updates/stable/juno/
- 3.7(靛蓝):http: //download.jboss.org/jbosstools/updates/stable/indigo/
- 3.6(太阳神):http: //download.jboss.org/jbosstools/updates/stable/helios/
- 在结果中,确保您已选中按类别对项目进行分组,然后在靠近底部的某处选择Web 和 Java EE 开发。
- 接下来,等等,完成。
This will get you the JBoss-provided AS and EAP server plugins, along with several easing JSF development plugins, such as EL autocompletion.
这将为您提供 JBoss 提供的 AS 和 EAP 服务器插件,以及几个 easing JSF 开发插件,例如 EL 自动完成。