How to install Axis2 runtime in Eclipse Oxygen?

只谈情不闲聊 提交于 2019-12-23 05:07:21

问题


I'm doing some tests with the last Eclipse developer builds, the Oxygen RC3. I know it's only a RC product, but in the milestones there was no problem with the Axis2 runtime. Here and now the Axis Runtime it's not present.

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.

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.", and also I get 2 bundles installed:

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"

I tried installing them on the plugins folder, not working.

Also, I follow other guides surfing the net unsuccessfully.

What can I do? Thanks in advance!


回答1:


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.

So I just search on Google that package in the Eclipse Marketplace (this link), and drag the Install button into the Eclipse SDK. I check and install the Axis2 Tools, CXF Web Services, and required packages.

After restar Eclipse, magic has done.

I have the Axis2 Runtime Settings:

The Axis2 Code Generator and Axis2 Service Archiver wizards:

And, finally, I have the Web Service runtime Apache Axis2 inside the Web Service Client wizard:



来源:https://stackoverflow.com/questions/44515835/how-to-install-axis2-runtime-in-eclipse-oxygen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!