MyEclipse 设置webService的WSDL时,出现an error occurred while completing process -javalangreflectInvocationTargetException
最后一步出现的这个错误 
an error occurred while completing process -java.lang.reflect.InvocationTargetException 
大家帮帮我!

解决方案 »

  1.   

    这个错误,
    解决方法是:
    1.在axis2的lib里找到backport-util-concurrent-3.1.jar,
    2.将里面的edu目录解压缩出来,
    3.用winrar打开eclipse\plugins\Axis2_Codegen_Wizard_1.3.0\lib\axis2-1.4.jar
    4.把edu添加进去
    重启eclipse.
    有人说把backport-util-concurrent-3.1.jar拷到eclipse\plugins\Axis2_Codegen_Wizard_1.3.0\lib下,
    再编辑plugin.xml添加
    <library name="lib/backport-util-concurrent-3.1.jar"> 
        <export name="*"/> 
    </library> 
    就行,
    但是好像我这里不行,
    我是两个都做了才可以的.有代码了,
    按照上次的调用方法去调用,
    OK.
      

  2.   


    aduction:
    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.