zoukankan      html  css  js  c++  java
  • MyEclipse6.0下axis2插件的安装

    Axis Eclipse plug-in(代码生成工具和打包工具)下载:

    http://apache.justdn.org/ws/axis2/tools/1_4_1/axis2-eclipse-codegen-wizard.zip
    http://apache.justdn.org/ws/axis2/tools/1_4_1/axis2-eclipse-service-archiver-wizard.zip

    将下载到的Axis 的两个plug-in解压缩到C:Program FilesMyEclipse 6.0eclipseplugins目录下。

    将Axis2_Codegen_Wizard改名为org.apache.axis2.tool.Axis_Codegen_1.3.0

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

    在C:Program FilesMyEclipse 6.0eclipselinks目录下新建文件名为:axis-eclipse-plugin.link
    内容为:
    path=C:Program FilesMyEclipse 6.0eclipseplugins

    重新启动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"文件到org.apache.axis2.tool.Axis_Codegen_1.3.0的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文件的过程需在将整个插件放入eclipseplugins之前,也就是说先将需要的jar和修改的 xml文件放入插件中,再将整个插件放入eclipseplugins

  • 相关阅读:
    Unity3d 4.3 通过代码动态更改SpriteRender的Sprite
    使用Unity3D的50个技巧:Unity3D最佳实践
    仿照wtform自定义Form组件
    flask-script
    Django中的信号
    浅淡python中with的用法,上下文管理器
    类和对象的创建过程(元类,__new__,__init__,__call__)
    flask-wtforms
    flask-session组件
    Flask-信号(blinker)
  • 原文地址:https://www.cnblogs.com/smallfa/p/4260775.html
Copyright © 2011-2022 走看看