`
iNexus
  • 浏览: 194643 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

解决an error occured while completing process java.lang.reflect.invocationtargetex

阅读更多
我在用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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics