`
生死格斗
  • 浏览: 126089 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Axis2 Codegen plugin报错问题

阅读更多
在用Axis2 Codegen 生成WSDL文件的时候,最后一步报错:
An error occurred while completing process -java.lang.reflect.InvocationTargetException

具体原因是缺少两个包:
geronimo-stax- api_1.0_spec-1.0.1.jar

backport-util-concurrent-3.1.jar,

下载这两个jar包(见附件),并修改eclipse或myeclipse路径下Axis2_Codegen_Wizard_1.3.0 文件夹下的 plugin.xml文件,在 <runtime> 中增加下面代码:
<library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
     <export name="*"/>
  </library>
  <library name="lib/backport-util-concurrent-3.1.jar">
      <export name="*"/>
  </library>
重新启动 eclipse 或 myeclipse 即可。

若还不行,那么尝试改下这个版本,将 plugin.xml 中的 version 属性改为 1.4.0, 然后将 Axis2_Codegen_Wizard_1.3.0 文件夹名改为 Axis2_Codegen_Wizard_1.4.0 ,再重启 eclipse 即可

转自CSDN
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics