Question:
I recently read some axis2 documents and saw two eclipse plug-in tools provided by axis2 on the official website. I think it is very good and I want to install them on MyEclipse. The installation method introduced on the axis2 website is very simple, but it is always unsuccessful when you do it yourself. Most of the information you read on the internet is unsuccessful. Here, I will record my solution.
Summary
I. Brief Introduction to installing the axis2 plug-in MyEclipse
Ii. Reasons for installation failure
Installation environment:
My eclipse 8.5
Axis2-eclipse-service-plugin-1.62.zip
Axis2-eclipse-codegen-plugin-1.62.zip
Body:
I. Brief Introduction to installing the axis2 plug-in MyEclipse
The method for installing the axis plug-in MyEclipse is relatively simple. The instructions on the official axis2 website are also very concise. Download the zip package and unzip it to the MyEclipse_HOME/dropins directory. The details are as follows:
1: Download axis2's two eclipse-plugin.zip (axis2-eclipse-service-plugin-1.62.zip, axis2-eclipse-codegen-plugin-1.62.zip)
2: copy the two decompressed jar packages to MyEclipse_HOME/dropins (org. apache. axis2.eclipse. codegen. plugin_1.6.2.jar, org. apache. axis2.eclipse. service. plugin_1.6.2.jar)
3: restart MyEclipse.
However, when I try to restart MyEclipse infinitely and get the following error message (failure. figure), of course, File -- new will not see the expected axis2Wizards.
Ii. Analysis on the Cause of plug-in installation failure
At first I saw this error, but I didn't take it into detail. I tried to find the installed information online and delete the MANIFEST in the jar package. javax. xml. stream version-1.0 or something. As a matter of fact, you may have some eye-catching issues with javax. xml and javax. xml. bind. For example, you cannot find the jar package or the version is incorrect.
Let's talk about my processing method. put three jar packages corresponding to javax. xml in the MyEclipse_HOME/dropins directory. Javax. xml_1.3.4.v201005080400.jar, javax. xml. stream_1.0.1.v201004272200.jar, javax. xml. bind_2.1.9.v201005080401.jar (which can be found in Plug-ins of Eclipse JEE version ). Delete the update folder under MyElipse \ configuration and restart MyEclipse (the pop-up prompt is as follows: success. figure ). File --> new
You can also see axis2Winzards.
Conclusion:
Go back to the instructions on installing this plug-in on the official axis2 website, and refer to the need for Eclipse Versions later than 3.1 and the dependency on Eclipse Plugins of JEE version. At this point, I think the cause of the failure is also roughly clear, directly install MyEclipse8.5, the version is naturally no problem, but the lack of some JEE plugins, so you need to import the corresponding Plugins. The jar package may depend on javax. xml.
References:
1: axis2 official installation instructions http://axis.apache.org/axis2/java/core/tools/eclipse/plugin-installation.html
2: renxiao2003 blog
Http://blog.chinaunix.net/uid-78707-id-283547.html
3: Install the axis2 jar package in myEclipse8.5 (downloadable)
Http://download.csdn.net/detail/hob007/4457837
(Last night, I had a puncture, so it was hard to prevent glass slag ...)