`
zhb8015
  • 浏览: 378485 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
Group-logo
Spring Roo杂谈
浏览量:0
社区版块
存档分类
最新评论

axis2+myeclipse6.5环境搭建

阅读更多

一、插件安装:

      http://blog.csdn.net/kenthui/archive/2010/05/21/5614921.aspx

 

二、入门实例:

      http://lshh83.iteye.com/blog/583511

 

三、可能遇到的问题:

      an error occurred while completing process -java.lang.reflect.invocationTarg

 

       http://cache.baidu.com/c?m=9d78d513d9901db8589cc33e4d4b97711925dd326d90905528828448e221011a1931f4bb56734d5b919b2b215af31c4bea8174326a5277f6dadccf0a83b4c86e69ca303503019b0457960eafbc1e768573c711beb81990ebad6d8ee88f9184054ecd59047d80f0&p=c360c64ad0934eac5eb5cd215f48&user=baidu&fm=sc&query=an+error+occurred+while+completing+process+-java.lang.reflect.invocationTargetexception&qid=9eab0d9a03ee6832&p1=3

 

在使用codegen插件来从WSDL文件生成代码时,到了最后一步出现"An erroroccurred while completing process -java.lang.reflect.InvocationTargetException" 
错误,重试N次,结果依然, 

从AXIS2的LIB库中复制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util-concurrent-3.1.jar"文件到Codegen的lib目录中,同时修改plugin.xml文件,添加 
<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> 

到plugin.xml文件中,保存后重新启动Eclipse即可! 

注意:复制"geronimo-stax-api_1.0_spec-1.0.1.jar"和"backport-util- concurrent-3.1.jar"文件,修改plugin.xml文件的过程需在将整个插件放入eclipse\plugins之前,也就是说先将需要的jar和修改的xml文件放入插件中,再将整个插件放入eclipse\plugins。 
  直接把plugins目录下的axis2的包拷出来启动eclipse,关闭。 
  再拷贝进去,启动,就可以做到重新加载。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics