简体   繁体   English

Eclipse中“安装axis2 core 1.1时失败”?

[英]“failed while installing axis2 core 1.1” in eclipse?

hello every one i am working java web service where i need to use axis 2 . 大家好,我正在使用Java Web服务,我需要使用第2轴。 i follow the some tutorial for resolve this issue .. 我按照一些教程来解决这个问题..

Steps which i followed 我遵循的步骤

1) i selected Windows option and then its sub option -> Preferences. 1)我选择了Windows选项,然后选择其子选项->首选项。

2) Then i selected the axis web services and select the axis run time. 2)然后,我选择了轴Web服务并选择了轴运行时间。

3) Then i gave the path of my axis2 binary and i got the "Axis2 Loaded successfully" message. 3)然后,我给出了axis2二进制文件的路径,并收到了“ Axis2 Loaded成功”消息。

4) Then i create the dynamic web project with module 2.5 and then process next then i got this error. 4)然后我使用模块2.5创建动态Web项目,然后进行下一步处理,然后出现此错误。

在此处输入图片说明

i am traveling on web from 3 days but not find any solution for this . 我从3天开始上网,但没有找到任何解决方案。

finaly i solve this error by doing some changes which is follows as below steps 最后,我通过执行一些更改来解决此错误,如下所示

Step 1) I use latest eclipse juno 步骤1)我使用最新的月食juno

Step 2) i selected Windows option and then its sub option -> Preferences and give it to the path of the axis binary.. 步骤2)我选择了Windows选项,然后选择了其子选项->首选项,并将其提供给轴二进制文件的路径。

Step 3) Then i create dynamic web application with 2.5 module without default run time 第3步)然后我用没有默认运行时间的2.​​5模块创建动态Web应用程序

and then next.. and i my problem is slove .... 然后下一个..我的问题是斯洛文..

please use stable version with axis 2 api and then follow these steps : 请使用带有第2轴api的稳定版本,然后按照以下步骤操作:

Step 1) use stable version of eclipse kliper.q 步骤1)使用eclipse kliper.q的稳定版本

Step 2) Select Windows option and then sub option -> Preferences and give it to the path of the axis distribution. 步骤2)选择Windows选项,然后选择子选项->首选项,并将其提供给轴分布的路径。

Step 3) Create dynamic web application with 2.5 module with server you required and then hit next. 步骤3)使用您需要的服务器用2.5模块创建动态Web应用程序,然后单击下一步。

Step 4) Create java class with your business logic and lunch it as service for wsdl. 步骤4)使用您的业务逻辑创建Java类,并将其作为wsdl的服务。

I had the same error with all versions of eclipse. 我在所有版本的Eclipse中都遇到了相同的错误。

The checkout of the project had a new folder called axis2-web, which created this problem. 该项目的检出有一个名为axis2-web的新文件夹,这导致了此问题。 Hence a fresh checkout of the web project helped me solved the problem. 因此,对Web项目的重新签出帮助我解决了该问题。

It´s no needed to use the last version of Eclipse, only install axis2 and then configure the environment. 不需要使用Eclipse的最新版本,只需安装axis2然后配置环境。 I installed axis2 version "axis2-1.6.4", then my project was created successfully. 我安装了axis2版本“ axis2-1.6.4”,然后成功创建了我的项目。 The system is looking for axis2 binaries. 系统正在寻找axis2二进制文件。

Regards, 问候,

HR 人力资源

The steps in detail are as follows 详细步骤如下

  1. Go to eclipse > top menu bar > Window > preferences 转到Eclipse>顶部菜单栏>窗口>首选项
  2. Click on Webservices 点击Web服务
  3. Click on Axis2 Preferences 单击Axis2首选项
  4. Enter the location of the axis2 install (for example if it is installed in C:\\) then it becomes C:\\axis2-1.6.4. 输入axis2安装的位置(例如,如果安装在C:\\中),则该位置将变为C:\\ axis2-1.6.4。
  5. Restart eclipse. 重新开始蚀。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM