如何将 Java EE 透视图添加到 Eclipse
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4747518/
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 to add Java EE perspective to Eclipse
提问by user582983
I could not find the Java EE perspective in Eclipse Galileo. I want to develop a web application, but for this I need to change the Eclipse perspective. But, I could not find the Java EE perspective.
我在 Eclipse Galileo 中找不到 Java EE 透视图。我想开发一个 Web 应用程序,但为此我需要更改 Eclipse 透视图。但是,我找不到 Java EE 透视图。
Can anybody tell me how to add this to Eclipse?
有人能告诉我如何将它添加到 Eclipse 中吗?
回答by SP.K
Relevant steps:
相关步骤:
Go to "Help" -> "Install New Software...".
转到“帮助”->“安装新软件...”。
In the new dialog, in the "Work with:" pull-down list, select "Indigo - http://download.eclipse.org/releases/indigo". (Note: Replace Indigo and the download list with download locations for your eclipse version)
在新对话框中的“Work with:”下拉列表中,选择“Indigo - http://download.eclipse.org/releases/indigo”。(注意:将 Indigo 和下载列表替换为 eclipse 版本的下载位置)
Select the following packages to install:
选择以下软件包进行安装:
"Web, XML, Java EE and OSGI Enterprise Development".
"Programming langauges -> Eclipse Java Development Tools"
After installation is complete, if you restart eclipse, you should see an option for java perspective in "window -> open perspective -> " or "window -> open perspective -> other"
安装完成后,如果你重启eclipse,你应该会在“窗口->打开透视图->”或“窗口->打开透视图->其他”中看到java透视图的选项
If the above does not work, check the following as well: Java EE perspective in eclipse
如果上述方法不起作用,请检查以下内容: Eclipse 中的 Java EE 透视图
回答by fmucar
window
-> open perspective
-> select Java EE view
[Other
(if you dont see it in there)] -> choose java EE
window
-> open perspective
-> select Java EE view
[ Other
(如果你没有在那里看到)] -> 选择java EE
(Assuming you have installed javaEE extension already or downloaded a version that already has it installed)
(假设你已经安装了 javaEE 扩展或者下载了一个已经安装的版本)
回答by Sudhakar Dhayalan
In the latest version of Eclipse (eclipse 2019-12), you need to manually download and install different perspectives as per your need. For Java EE perspective, Go to Help -> Install New Software... Then in the new pop up dialogue box, select --All Available Sites-- from Work with drop down list. Select "Web, XML, Java EE and OSGi Enterprise Development" from the list and click next, then accept the license. Click Finish. After installation you can see "Java EE" in "Windows->Perspective->Open Perspective->Other Perspective.
在最新版本的Eclipse(eclipse 2019-12)中,需要根据需要手动下载安装不同的透视图。对于 Java EE 透视图,转到 Help -> Install New Software... 然后在新的弹出对话框中,从 Work with 下拉列表中选择 --All Available Sites--。从列表中选择“Web、XML、Java EE 和 OSGi 企业开发”并单击下一步,然后接受许可。单击完成。安装后可以在“Windows->Perspective->Open Perspective->Other Perspective”中看到“Java EE”。
Good luck fellas...
祝小伙伴们好运...
回答by Brajesh
If you have installed Eclipse IDE for Java EE Developers
then you can go for the following steps otherwise firstly download and installEclipse IDE for Java EE Developers
from the given link
https://www.eclipse.org/downloads/packages/release/Photon/R
如果已安装,Eclipse IDE for Java EE Developers
则可以执行以下步骤,否则首先Eclipse IDE for Java EE Developers
从给定的链接
https://www.eclipse.org/downloads/packages/release/Photon/R下载并安装
After installing, you can open Java EE perspective
by follow the following step-
安装后,您可以Java EE perspective
按照以下步骤打开-
window
-> open perspective
-> select Java EE
view
window
-> open perspective
-> 选择Java EE
视图
That's it.
就是这样。