我在用Axis2开发WebService时,需要用到插件:axis2-eclipse-codegen-wizard.zip和axis2-eclipse-service-archiver-wizard.zip;
下载地址:http://apache.justdn.org/ws/axis2/tools/1_4_1/
但是貌似这个地址提供的这个插件axis2-eclipse-codegen-wizard.zip缺少jar包,即如下:
"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"。
由于缺少它们,导致出现"An error occurred while completing process -java.lang.reflect.InvocationTargetException"这样的错误。具体解决办法如下:
下载"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"这两个jar包,之后将它们拷贝到Axis2_Codegen_Wizard_1.3.0文件夹中的lib目录下。
axis2_1.4.1版本中的lib包下有这两个jar,但是最新版axis2_1.5貌似缺少了这两个jar
,
如果大家找不到这两个jar,下面提供目前可用的下载地址(如果地址不对,还请大家自己上网找去):
http://mirrors.ibiblio.org/pub/mirrors/maven/mule/dependencies/maven2/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
http://dev.project.net/trac/pnet-community/browser/trunk/core/lib/geronimo-stax-api_1.0_spec-1.0.1.jar?rev=17737
然后修改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>
重新启动eclipse或myeclipse即可。
若还不行,那么尝试改下这个版本,将plugin.xml中的version属性改为1.4.0,然后将
Axis2_Codegen_Wizard_1.3.0文件夹名改为Axis2_Codegen_Wizard_1.4.0;再重启eclipse即可。
我初次使用这个插件就存在这样的问题,网上查了资料,有相关的解决方案,不过有些仍然无法解决我当时遇到的问题。在http://mail-archives.apache.org/mod_mbox/ws-axis-user/200810.mbox/<48E46809.4020400@wso2.com>
这个地址里头说明了问题的所在。由于相关的资料较少,我写下这篇博客,为自己以后遇到同样的问题能够尽早的发现解决之道,也为大家提供一个参考。
分享到:
相关推荐
axis2-eclipse-codegen-plugin-1.6.2.zip和axis2-eclipse-service-plugin-1.6.2.zip,解压即可使用
axis2-eclipse-codegen-plugin-1.6.0和axis2-eclipse-service-plugin-1.6.0有关jar包下载,解压后直接将这两个jar包放到eclips下的plugins目录下,重启eclipse即可
eclipse插件 org.apache.axis2.eclipse.codegen.plugin_1.7.4.jar
eclipse Axis2 Codegen plugin报错问题的解决方法t和所需要的两个jar包,都在rar中一并压缩了
绝对可以用,里面配有myeclipse10安装AXIS2插件的步骤,希望大家工作愉快,谢谢,给好评哦
eclipse的axis2的插件axis2-eclipse-codegen-plugin-1.5.4.zip
axis2-eclipse-codegen-plugin-1.6.1.zip axis2-eclipse-codegen-plugin-1.6.1.zip
axis2-eclipse-codegen-plugin-1.7.4.zip eclipse插件
axis2-eclipse-codegen-plugin-1.6.0.zip
标签:axis2.eclipse.codegen.plugin-1.4.1-sources.jar,axis2.eclipse.codegen.plugin,1.4.1,sources,jar包下载,依赖包
标签:axis2.eclipse.codegen.plugin-1.5-sources.jar,axis2.eclipse.codegen.plugin,1.5,sources,jar包下载,依赖包
标签:axis2.eclipse.codegen.plugin-1.5.jar,axis2.eclipse.codegen.plugin,1.5,jar包下载,依赖包
eclipse的在编写webservice时生成wsdl的插件
标签:axis2.eclipse.codegen.plugin-1.5.1-sources.jar,axis2.eclipse.codegen.plugin,1.5.1,sources,jar包下载,依赖包
axis2-eclipse-codegen-plugin-1.7.0.zip
目前axis2最高版本是2.0以上的版本,但是eclipse和myeclipse都不支持,无奈只能使用低版本的插件1.6.3;经实验,可以安装成功; 安装方法:右键解压到当前文件夹,Copy解压的...axis2-eclipse-codegen-plugin-1.6.3.zip
本文主要描述如何使用Apache开源项目Axis提供的API来实现Web Services。本文中的提到的例子只为了方便本文的描述而提出,有不妥之处请见谅。...里面带有解决:eclipse Axis2 Codegen plugin报错问题
axis2-eclipse-codegen-plugin-1.6.2+axis2-eclipse-service-plugin-1.6.2
org.apache.axis2.eclipse.codegen.plugin_1.7.8.jar插件文件
axis2进程eclipse插件axis2进程eclipse插件axis2进程eclipse插件axis2进程eclipse插件axis2进程eclipse插件