简体   繁体   English

如何在Eclipse Oxygen中安装Axis2运行时?

[英]How to install Axis2 runtime in Eclipse Oxygen?

I'm doing some tests with the last Eclipse developer builds, the Oxygen RC3 . 我正在使用最新的Eclipse开发人员版本Oxygen RC3进行一些测试。 I know it's only a RC product, but in the milestones there was no problem with the Axis2 runtime. 我知道这只是RC产品,但在里程碑中,Axis2运行时没有问题。 Here and now the Axis Runtime it's not present. 现在不存在Axis Runtime。

带有Web服务的Eclipse首选项

When I try to run the wizard and create the Web Service, I just don't see the option to set Axis2 runtime, just the Axis runtime. 当我尝试运行向导并创建Web服务时,我只是看不到设置Axis2运行时的选项,而只看到Axis运行时。

Eclipse向导创建Web服务

Also I tried to install the plugins moving them into the dropins folder, running Eclipse with the -console option from the command line (following the Apache instructions ) and when I check in the console with the command ss axis2 it says "Framework is launched." 我还尝试安装将插件移动到dropins文件夹中的插件,并通过命令行中的-console选项运行Eclipse(遵循Apache的说明 ),并且当我使用ss axis2命令在控制台中检ss axis2它说"Framework is launched." , and also I get 2 bundles installed: ,并且还安装了2个捆绑包:

从Eclipse控制台安装的Axis2捆绑软件

Unfortunately, when I try to start them I got the message: BundleException: Could no resolve module: org.apache.axis2.eclipse.service.plugin [107X] Unresolved requirement: Import-Package: javax.xml.stream; version="1.0.0" 不幸的是,当我尝试启动它们时,收到消息:BundleException: Could no resolve module: org.apache.axis2.eclipse.service.plugin [107X] Unresolved requirement: Import-Package: javax.xml.stream; version="1.0.0" Could no resolve module: org.apache.axis2.eclipse.service.plugin [107X] Unresolved requirement: Import-Package: javax.xml.stream; version="1.0.0"

启动Axis2捆绑包时出错

I tried installing them on the plugins folder, not working. 我尝试将它们安装在plugins文件夹中,但无法正常工作。

Also, I follow other guides surfing the net unsuccessfully. 另外,我遵循其他指南,也无法成功上网。

What can I do? 我能做什么? Thanks in advance! 提前致谢!

Well, after some research, I get the solution! 好吧,经过一番研究,我找到了解决方案! Axis2 Tools and CXF Web Services come with Eclipse Java EE Developer Tools Project, so I suppossed that will be the package that includes Axis2. Axis2 Tools和CXF Web Services随Eclipse Java EE Developer Tools Project一起提供,因此我认为它将是包含Axis2的软件包。

So I just search on Google that package in the Eclipse Marketplace ( this link ), and drag the Install button into the Eclipse SDK. 因此,我只是在Eclipse Marketplace中的该软件包的Google上进行搜索( 此链接 ),然后将“安装”按钮拖到Eclipse SDK中。 I check and install the Axis2 Tools , CXF Web Services , and required packages. 我检查并安装Axis2 ToolsCXF Web Servicesrequired软件包。

After restar Eclipse, magic has done. 重播Eclipse之后,魔术就完成了。

I have the Axis2 Runtime Settings: 我有Axis2 Runtime设置: Axis2运行时设置

The Axis2 Code Generator and Axis2 Service Archiver wizards: Axis2 Code GeneratorAxis2 Service Archiver向导:

Axis2向导

And, finally, I have the Web Service runtime Apache Axis2 inside the Web Service Client wizard: 最后,我在Web Service Client向导中拥有Web Service运行时Apache Axis2

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM