Axis2 Plugin Exception: -java.lang.reflect.InvocationTargetException

本文介绍了解决Axis2 Eclipse插件安装后出现的测试异常问题。通过检查并补充缺失的jar文件、修改plugin.xml文件及清理相关配置等步骤,可以有效避免java.lang.reflect.InvocationTargetException异常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值