Java 如何添加glassfish工具来遮氧3a

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/50912824/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-10 23:52:20  来源:igfitidea点击:

How to add glassfish tools to eclipse oxygen 3a

javaeclipseglassfish

提问by frank

I downloaded Eclipse Oxygen but i don't get glassfish tools installed in this IDE.

我下载了 Eclipse Oxygen,但我没有在这个 IDE 中安装 glassfish 工具。

It's a Oxygen 3A 64 bit running on a JDK 8 Update 172.

它是在 JDK 8 Update 172 上运行的 Oxygen 3A 64 位。

When i try to install the tools via Marketplace it states that the tools are not available.

当我尝试通过 Marketplace 安装这些工具时,它指出这些工具不可用。

Screenshot Marketplace

截图市场

Screenshot error message

截图错误信息

Here the Entry in the Eclipse Error Log for this:

这是 Eclipse 错误日志中的条目:

eclipse.buildId=4.7.3.M20180330-0640
java.version=1.8.0_172
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

org.eclipse.epp.mpc.ui
Error
Mon Jun 18 17:27:38 CEST 2018
The following solutions are not available: GlassFish Tools (id=oracle.eclipse.tools.glassfish.feature.group, site=http://download.oracle.com/otn_software/oepe/oxygen)

I already tried this: Glassfish Tools plugin for Eclipse Luna SR2 not working

我已经试过了:Eclipse Luna SR2 的 Glassfish 工具插件不起作用

and this: How to add GlassFish Server to Eclipse Oxygen?

还有这个:如何将 GlassFish Server 添加到 Eclipse Oxygen?

Without success.

没有成功。

Any Ideas? Maybe the download location changed? But to where?

有任何想法吗?也许下载位置改变了?但是去哪里?

采纳答案by frank

I found the Solution on the Oracle Website.

我在 Oracle 网站上找到了解决方案。

There's a Oracle Enterprise Pack for Eclipse: http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html

有一个适用于 Eclipse 的 Oracle Enterprise Pack:http: //www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html

On this Site there's also the Link to the repository: http://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/

在此站点上还有指向存储库的链接:http: //download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/

In the Eclipse IDE paste this Link in the Work with:-Textfield under Help->Install new Software...

在 Eclipse IDE 中,将此链接粘贴到Work with:-帮助下的文本字段->安装新软件...

GlassFish Tools are contained in the Oracle Jave EE Toolsunder Tools.

GlassFish Tools 包含在Tools下的Oracle Jave EE Tools 中

回答by user11507207

You need to install Sapphire 9.1.1 before installing the GlassFish Tools.

在安装 GlassFish Tools 之前,您需要安装 Sapphire 9.1.1。

To install:

安装:

  1. Open Eclipse
  2. Click on Help option
  3. Click Install New Software
  4. Work with: https://download.eclipse.org/sapphire/9.1.1/repository/
  5. Hit Enter on your keyboard
  6. Select Sapphire
  7. Install
  8. Eclipse should restart after completing the installation process.
  1. 打开日食
  2. 点击帮助选项
  3. 点击安装新软件
  4. 使用:https: //download.eclipse.org/sapphire/9.1.1/repository/
  5. 按键盘上的 Enter
  6. 选择蓝宝石
  7. 安装
  8. 完成安装过程后 Eclipse 应重新启动。

Then follow the same steps to install GlassFish but for step 4 use the following link for GlassFish to Work with https://download.eclipse.org/glassfish-tools/1.0.1/repository/

然后按照相同的步骤安装 GlassFish,但对于第 4 步,请使用以下链接让 GlassFish 与https://download.eclipse.org/glassfish-tools/1.0.1/repository/ 一起使用

Reference: https://projects.eclipse.org/projects/webtools.glassfish-tools/downloads

参考:https: //projects.eclipse.org/projects/webtools.glassfish-tools/downloads