您的位置:首页 > 编程语言 > Java开发

关于eclipse中使用axis2-1.4工具wsdl2java(CodeGen的问题解决)

2013-03-20 15:00 726 查看
现在1.6.2 经过测试可以使用

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: