`
YOUNG918
  • 浏览: 189437 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Axis2 Codegen Wizard 1.3.0 InvocationTargetException错误解决

阅读更多

Axis2_Codegen_Wizard_1.3.0 和Axis2_Service_Archiver_1.3.0, 是当前能够找到的最新版本.

将二个插件解压成文件夹拷入Eclipse插件目录下后,正常启动.

使用Axis2_Codegen_Wizard时出现问题,点击finish时,出现Inva.lang.reflect.InvocationTargetException异常

解决方法:

axis2-1.4.1-war\axis2\WEB-INF\lib目录下,复制backport-util-concurrent-3.1.jar和geronimo-stax-api_1.0_spec-1.0.1.jar两个文件

Axis2_Codegen_Wizard_1.3.0\lib下,同时要编辑Axis2_Codegen_Wizard_1.3.0下的 plugin.xml,将这两个文件添加进去    <library name="lib/backport-util-concurrent-3.1.jar">
         <export name="*"/>
      </library>
    <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
         <export name="*"/>
      </library>

插件即可正常生成代码.

分享到:
评论

相关推荐

    backport-util-concurrent-3.1.jar geronimo-stax-api_1.0_spec-1.0.1.jar 下载

    An error ocCurred while completing process -java.lang.reflect.InvocationTargetException (1).关闭 Eclipse (2).copy %AXIS2_HOME%\lib\ 下的 backport-util-concurrent-3.1.jar 和 geronimo-stax-api_1.0_...

    Axis2,Axis2+Eclipse+plugin安装配置及安装过程中问题解决.doc

    #### 三、解决 java.lang.reflect.InvocationTargetException 错误 在使用 codegen 插件从 WSDL 生成 Java 代码时可能会遇到以下错误: ``` An error occurred while completing process - java.lang.reflect....

    Axis2 code generator

    复制到 eclipse\plugins\Axis2_Codegen_Wizard_1.3.0\lib 文件夹下。 PS 找不到的去下这个:axis2-1.6.1-bin 我的1.6.1里面没有backport-util-concurrent-3.1.jar ,所以附上我找到的此包,在压缩包里面。

    学习AXIS2遇到的一个问题与解决

    通过上述步骤,可以有效解决在MyEclipse中使用Axis2插件时遇到的`java.lang.reflect.InvocationTargetException`异常。这不仅能够提高开发效率,还能够避免因错误而导致的项目延期等问题。对于初学者来说,这是一个...

    eclipse,axis2

    - **错误提示:** “An error occurred while completing process-java.lang.reflect.InvocationTargetException” - 解决方案:确保已经正确安装了所有必需的库和插件,并且版本兼容。 - **库冲突:** - **步骤1...

    backport-util-concurrent-3.1.jar

    - copy %AXIS2_HOME%\lib\backport-util-concurrent-3.1.jar 到%ECLIPSE_HOME%\plugins\Axis2_Codegen_Wizard_1.3.0\lib - 注册此 jar 包: 編輯 %ECLIPSE_HOME%\plugins\Axis2_Codegen_Wizard_1.3.0\plugin.xml , ...

    webservice的编写和调用

    在使用Axis2 Codegen Wizard过程中,可能会遇到`InvocationTargetException`异常。解决方案是: 1. **复制依赖库**:将`backport-util-concurrent-3.1.jar`和`geronimo-stax-api_1.0_spec-1.0.1.jar`从`axis2-1.4.1...

    WebService的编写和调用

    在使用Axis2工具生成代码时可能会遇到一些问题,例如`Axis2CodegenWizard1.3.0`的`InvocationTargetException`异常。解决此问题的具体步骤如下: 1. **复制依赖库**:从`axis2-1.4.1-war\axis2\WEB-INF\lib`目录下...

Global site tag (gtag.js) - Google Analytics