Axis2_Codegen_Wizard_1.4.0错误:An error occurred while completing process -java.lang.reflect.InvocationTargetException

在使用codegen插件来从WSDL文件生成代码时,到了最后一步竟然出然了"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的错误,重试N次,结果依然,

从AXIS2的LIB库中复制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"文件到Codegen的lib目录中,同时修改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>

到plugin.xml文件中,保存后重新启动Eclipse即可!

你可能感兴趣的:(Axis2_Codegen_Wizard_1.4.0错误:An error occurred while completing process -java.lang.reflect.InvocationTargetException)