使用 Eclipse 3.5 安装 CXF

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

Installing CXF with Eclipse 3.5

eclipseinstallation

提问by shinynewbike

As per http://help.eclipse.org/helios/topic/org.eclipse.jst.ws.cxf.doc.user/reference/preferences.html

根据http://help.eclipse.org/helios/topic/org.eclipse.jst.ws.cxf.doc.user/reference/preferences.html

The CXF 2.x preferences can be accessed via Window > Preferences... > Web Services > CXF 2.x Preferencesfrom the top level menu.

可以Window > Preferences... > Web Services > CXF 2.x Preferences从顶级菜单访问 CXF 2.x 首 选项。

but I dont see the option CXF 2.x Preferencesunder Web Services, though I have chosen JavaEE perspective.

但是我没有看到CXF 2.x PreferencesWeb Services 下的选项,尽管我选择了 JavaEE 透视图。

any ideas how to enable this? Sorry for such a simple question.

任何想法如何启用它?抱歉问这么简单的问题。

I also cannot do not see CXF as a Project Facet as per http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jst.ws.jaxws.doc.user/gettingstarted/requirements.html

根据http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jst.ws.jaxws.doc.user/gettingstarted/requirements,我也不能不将 CXF 视为项目方面。 html

I know this is something to do with getting Eclipse aware of CXF libraries, but cant find the tutorial for this.

我知道这与让 Eclipse 了解 CXF 库有关,但找不到相关教程。

采纳答案by Konstantin Komissarchik

CXF tooling is not present in Eclipse 3.5 "Galileo" release. It was added in Eclipse 3.6 "Helios". You cannot upgrade in place from one major release of Eclipse to another. You will need to download a new Eclipse distro. I recommend Eclipse IDE for Java EE Developers package that you can get from the official download site.

CXF 工具不存在于 Eclipse 3.5“Galileo”版本中。它是在 Eclipse 3.6 "Helios" 中添加的。您不能从 Eclipse 的一个主要版本就地升级到另一个。您将需要下载一个新的 Eclipse 发行版。我推荐 Eclipse IDE for Java EE Developers 包,您可以从官方下载站点获取

回答by sandyiit

Go to Help -> Install New Software. In the drop down 'Work With' select : The Eclipse Web Tools Platform (WTP) Project update site - http://download.eclipse.org/webtools/updates

转到帮助 -> 安装新软件。在“使用”下拉菜单中选择: Eclipse Web 工具平台 (WTP) 项目更新站点 - http://download.eclipse.org/webtools/updates

In the 'type filter text', type in 'cxf' and select the SDK and other results and install them. Restart Eclipse and you should get CXF 2.xPreferences under Window > Preferences... > Web Services

在“类型过滤器文本”中,输入“cxf”并选择 SDK 和其他结果并安装它们。重新启动 Eclipse,你应该CXF 2.x在下得到PreferencesWindow > Preferences... > Web Services

回答by JoseK

If CXF runtime is not showing up in the Preferences, try updating the WTP version for your Eclipse installation.

如果首选项中没有显示 CXF 运行时,请尝试更新 Eclipse 安装的 WTP 版本。

Point to http://download.eclipse.org/releases/galileo/, update the plugins and restart Eclipse.

指向http://download.eclipse.org/releases/galileo/,更新插件并重新启动 Eclipse。