关于Eclipse的Axis2插件的安装

xiaoxiao2024-04-14  25

安装AXIS2的代码生成插件"axis2-eclipse-codegen-wizard",和服务打包插件"axis2-eclipse-service-archiver-wizard"后。 在使用codegen插件来从WSDL生成JAVA代码文件时,到了最后一步竟然出然了"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的错误。解决方法如下: 过程如下:从AXIS2的LIB库中复制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"文件到Axis2_Codegen_Wizard_1.3.0的lib目录中,同时修改Axis2_Codegen_Wizard_1.3.0下的plugin.xml文件,在<runtime>中添加 <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文件中,保存后重新启动EC即可! 附件解压放到myeclipse(\myeclipse\eclipse\plugins)中即可 相关资源:eclipse手动安装axis2插件
转载请注明原文地址: https://www.6miu.com/read-5014973.html

最新回复(0)