关于eclipse中使用axis21.4工具wsdl2java(CodeGen的问题解决)

现在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. 

原文地址:https://www.cnblogs.com/yuxiang204/p/2971184.html