我所使用的是eclipse3.3 Asix2 1.4 插件version是1.3
在 java2wsdl 最后一步时出现 InvocationTargetException
看了好多资料,有的说缺少 backport-util-concurrent-3.1.jar
但并不全,找了国外的论坛上的解决办法,还需要添加一个 stax-api-1.0.1.jar 包
stax-api-1.0.1.jar 下载:http://mirrors.ibiblio.org/pub/mirrors/maven2/stax/stax-api/1.0.1/
backport-util-concurrent-3.1.jar 在 asix2 1.4 的lib中找
原文:
Solution to InvocationtargetException
Hi all who have or still are suffering from the InvocationTargetException,
I've posted a blog here in which I describe the path that leads to the solution for the problem. In short it comes to this: you need to add two jar-files to the lib directory of the Axis2 Code Generator Plug-in: stax-api-1.0.1.jar and backport-util-concurrent-3.1.jar (this one also needs to be added to plugin.xml). This solution is also mentioned here.
Hope this helps.