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