`
ywChen
  • 浏览: 118070 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

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.    
  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即可看到如下图所示:

 


 


市场价:30
淘宝价:29.66
市场价:100
淘宝价:98.85
市场价:50
淘宝价:49.50
市场价:50
淘宝价:49.30

 

  • 大小: 32.4 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics