Eclipse使用axis2生成客户端调用时最后一步出现an error occurred while completing process -java.lang.reflect.InvocationTargetException

解决步骤:

1.关闭eclipse

2.将axis2/lib下的backport-util-concurrent-3.1.jar及geronimo-stax-api_1.0_spec-1.0.1.jar文件拷贝到

eclipse/plugins/Axis2_Codegen_Wizard_1.3.0/lib/文件夹下

3.修改eclipse/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml配置文件

添加:

<library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
         <export name="*"/>
</library>
<library name="lib/backport-util-concurrent-3.1.jar">
        <export name="*"/>
</library>

到runtime节点下

3.继续修改plugin.xml文件将plugin节点下version改为"1.4.0",保存修改。

4.将Axis2_Codegen_Wizard_1.3.0文件夹名称改为Axis2_Codegen_Wizard_1.4.0

5.启动eclipse再试试

 

Good Luck

你可能感兴趣的:(eclipse,library,wizard)