Issue:
After you install Axis2Eclipse plug-in and try to do a test, you may got following exception when you perform the last operation, click ‘Finish‘ button.
Exception:
-java.lang.reflect.InvocationTargetException
Reason:
The plug-in you downloaded miss some jar files.
Solution:
1.Go to X:/eclipse3.5/plugins/Axis2_Codegen_Wizard_1.4.0 and open plugin.xml
2.Check if there is any jar file which is listed in the plugin.xml but not found in the ../plugins/lib. If exist, please download missed jar files and put it/them to lib directory.
3.Insert backport-util-concurrent-3.1.jar to library.
<library name="lib/backport-util-concurrent-3.1.jar"> <export name="*"/>
library>
4.Correct the version from top of plugin.xml, like following
Axis2_Codegen_Wizard"
name="Axis2 Codegen Wizard Plug-in"
version="1.4.0"
provider-name="Apache Software Foundation"
class="org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin">
5.Save and close plugin.xml and correct the name of Axis2_Codegen_Wizard folder. E.g Axis2_Codegen_Wizard_1.4.0
6.Go to your Eclipse Workspace and open ../.metadata/.plugins
7.Delete Axis2_Codegen_Wizard folder
8.Restart Eclipse then the error should not occur again.
Alternatively, you can download my fixed plugin from following URL.
http://download.youkuaiyun.com/source/2644025