eclipse 在创建初始 JAX-WS 项目方面需要帮助
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5987698/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Need help with creating inital JAX-WS project
提问by opike
I'm stepping through this tutorial: http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
我正在逐步完成本教程:http: //www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
I'm trying to select the axis2 Web Service facet (step 6) but I'm getting this error message in eclipse: "Axis2 Web Services Core 1.1 requires Dynamic Web Module with version matching expression "2.2,2.3,2.4,2.5"
我正在尝试选择 axis2 Web 服务方面(步骤 6),但我在 Eclipse 中收到此错误消息:“Axis2 Web 服务核心 1.1 需要具有版本匹配表达式“2.2,2.3,2.4,2.5”的动态 Web 模块
Update: I had downloaded and installed axis2 1.5.4 and then in eclipse I went into "windows->preferences->web services->axis2 preferences". Under the "axis2 runtime" tab I specified the axis2 location. The message "Axis2 runtime loaded successfully" appeared.
更新:我已经下载并安装了axis2 1.5.4,然后在eclipse中我进入了“windows->preferences->web services->axis2preferences”。在“axis2 运行时”选项卡下,我指定了axis2 位置。出现消息“Axis2 运行时加载成功”。
I don't know why it says "Axis2 Web Services Core 1.1". Does eclipse wtp come bundled with axis2 1.1 or is there a separate version # for the axis core from the overall axis version #?
我不知道为什么它说“Axis2 Web Services Core 1.1”。eclipse wtp 是否与axis2 1.1 捆绑在一起,还是有一个单独的版本# 用于轴核心与整个轴版本#?
采纳答案by opike
@Yasin - you were right, it was merely a mater of changing the Dynamic web module to a previous version. I wasn't aware that the earlier versions had also been installed.
@Yasin - 你是对的,这只是将动态 Web 模块更改为以前版本的问题。我不知道还安装了早期版本。
I'd give you credit for the answer, but since you just left a comment I just up-voted your comment.
我会为您的答案表示感谢,但由于您刚刚发表评论,我只是对您的评论投了赞成票。
回答by Sivaji Ay
Change the Dynamic web module version to lower.
将动态 Web 模块版本更改为较低。
I used java 1.5 and Dynamic web module version-3.0 So its raised an error. Then I changed the version 2.5. Now its not showing any error
我使用了 java 1.5 和 Dynamic web module version-3.0 所以它引发了一个错误。然后我更改了2.5版本。现在它没有显示任何错误
回答by Ashutosh
回答by Ashutosh
Actually you should select project web module version to 2.5 or lower during the initial creation of the project. If you do it later, it won't accept it and cause an error.
实际上,您应该在最初创建项目时选择项目 Web 模块版本为 2.5 或更低版本。如果你稍后再做,它就不会接受它并导致错误。