axis2与mycelipse整合问题

本文来自:
http://hi.baidu.com/getpost/blog/item/fd9aa1ed710b22deb31cb1d6.html
一、myeclipse8.6+axis2-1.4配置方法:
1、直接把1.4插件中解压的文件夹:Axis2_Codegen_Wizard_1.3.0和Axis2_Service_Archiver_1.3.0放入:Genuitec\MyEclipse-8.6\dropins下
然后需做第二步中的修改

二、axis2-1.4插件使用中异常解决:
解决an error occured while completing process java.lang.reflect.invocationtargetex
2009-11-13 00:25
我在用axis2生成java代码的时候出现这个错误,用下面的方法解决了。大家参考下吧

引用
I tried all given hints. It still didnt work. I experimented a bit more and here is my solution:

1) Shutdown eclipse

2) Copying the "backport-util-concurrent-3.1.jar" from "$AXIS2_HOME/lib/" to "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/lib/"

3) Adding the following into the "runtime" element "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml" :

<library name="lib/backport-util-concurrent-3.1.jar">
<export name="*"/>
</library>

4) In "$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml" changing the version attribute of the "plugin" element from "1.3.0" to "1.4.0". This results still in the same exception. But leave it.

5) Now changing the version also in the plugin's folder name from "Axis2_Codegen_Wizard_1.3.0" to "Axis2_Codegen_Wizard_1.4.0".

6) Start eclipse and try the plugin


In my case it worked then. Hope i could help you.

来源:http://topic.csdn.net/u/20080524/01/37d43534-2490-43a4-a24d-bcf62b417de2.html


我的环境:

Eclipse 3.4.1

ws/axis2/tools/1_4_1/:axis2-eclipse-service-archiver-wizard.zip、axis2-eclipse-codegen-wizard.zip
(安装方法:参考“使用Eclipse+Axis2构建Web Service应用(客户端无需生成Stub方式)”中的“下载Eclipse Axis2插件”)

从压缩包axis2-1.4.1-bin.zip中取backport-util-concurrent-3.1.jar(奇怪axis2-1.5.1-bin.zip中无此文件)


三、myeclipse8.6+axis2-1.6配置所需jar包:
2个插件包
org.apache.axis2.eclipse.codegen.plugin_1.6.1.jar
org.apache.axis2.eclipse.service.plugin_1.6.1.jar
插件包中要依赖的3个包(在$AXIS2-bin_HOME/lib下)
axiom-dom-1.2.12.jar
axiom-impl-1.2.12.jar
axiom-api-1.2.12.jar
把这5个包放入:Genuitec\MyEclipse-8.6\dropins下即可
特别注意:把上述5包引入后myeclipse启动不报错,但插件不显示,因此建议使用1.4
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值