MyEclipse6.5下 Axis2插件的安装


将下载到的Axis 的两个plug-in解压缩到C:\Program Files\MyEclipse 6.5\eclipse\plugins目录下。 

将Axis2_Codegen_Wizard改名为org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin 

将Axis_Service_Archiver-wizard.改名为 
org.apache.axis2.tool.Axis_Service_Archiver_1.3.0 

在D:\Program Files\MyEclipse 6.5\eclipse\links目录下新建文件名为:axis-eclipse-plugin.link 
内容为: 
path=D:\Program Files\MyEclipse 6.5\eclipse\plugins 

重新启动myeclipse,在file->new->other中可看到Axis2 Wizards,axis2插件安装成功。 

在使用codegen插件来从WSDL文件生成代码时,到了最后一步出现"An error occurred 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文件,添加 

Xml代码  " quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">  收藏代码
  1. 1    
    2 <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
    3 <export name="*"/>
    4 </library>
    5 <library name="lib/backport-util-concurrent-3.1.jar">
    6 <export name="*"/>
    7 </library>

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

 

在new-other即可看到如下图所示:

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM