Eclipse下安装Axis2插件
来源:互联网 发布:下载excel办公软件 编辑:程序博客网 时间:2024/04/28 23:50
1、下载Axis2及Eclipse插件
http://axis.apache.org/axis2
http://archive.apache.org/dist/ws/axis2/tools/
下载axis2-eclipse-codegen-wizard.zip和axis2-eclipse-service-archiver-wizard.zip
2、解压插件
解压后得到两个文件夹:Axis2_Codegen_Wizard_1.3.0和Axis2_Service_Archiver_1.3.0,
拷贝至eclipse\dropins
3、重新启动Eclipse
如在File->New->Other中有Axis2 Wizards,说明插件安装成功。
4、新建Axis2 Code Generator,选择wsdl文件可生成客户端代理类。
错误An error occurred while completing process-java.lang.reflect.InvocationTargetException解决:
1.从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文件,在文件中中添加:
<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>
如没有backport-util-concurrent-3.1.jar,可以从地址:http://backport-jsr166.sourceforge.net/ 下载。
2.将 $workspace位置\.metadata\.plugins下目录 Axis2_Codegen_Wizard 删除。
3.在命令行下切换至$ECLIPSE_HOME目录,然后执行:eclipse –clear。
如还决有问题参考如下解决办法:修改名字,再改回来
Hi,everybody!
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.
- Eclipse下安装Axis2插件
- Eclipse下安装Axis2插件
- Eclipse下安装Axis2插件
- Eclipse下安装Axis2插件
- axis2-eclipse插件安装
- Eclipse安装axis2插件 links
- Eclipse安装axis2插件 links
- Eclipse安装Axis2插件失败
- MyEclipse下Axis2插件安装
- Myeclipse2013下安装Axis2插件
- 关于Eclipse的Axis2插件的安装
- eclipse或myeclipse安装 Axis2 插件
- Axis2插件在eclipse中的安装
- Eclipse安装Axis2插件失败问题
- Eclipse安装不了AXIS2 Tool插件
- eclipse安装axis2插件无法使用
- myeclipse6.5下安装axis2插件
- MyEclipse6.0下axis2插件的安装
- 我放弃你!因为你的不珍惜:伤感日志
- 圆的计算
- 给界面上任何控件截图并保存为PNG的方法
- SH7218T拆解手记(8)tfupdate.img大拆解
- 超大整数加法
- Eclipse下安装Axis2插件
- Android上基于JSON的数据交互应用
- 定期还款
- SH7218T拆解手记(9)调整分区大小
- 安川伺服调试的一些经验
- Spring Security 国际化 让人蛋疼的 坏的凭证
- 用单例模式Appcation对象管理Activity与service
- 你是我一触即碎的琉璃空城:伤感日志
- Oracle查询表以及查询过程中表明特殊字符转义