0

我正在尝试在我的项目中使用 Web 服务,但它不返回任何数据。我在互联网上搜索过,我发现需要 WTP 插件。我正在使用 Eclipse Juno,我尝试为 Eclipse 安装插件,但它给了我一个错误。

Cannot complete the install because one or more required items could not be found.
  Software being installed: Web Page Editor (Optional) 2.2.2.v201001271707-43799oB5855B7A2242 (org.eclipse.jst.webpageeditor.feature.feature.group 2.2.2.v201001271707-43799oB5855B7A2242)
  Missing requirement: Java EE Component 1.1.301.v200909030330 (org.eclipse.jst.j2ee 1.1.301.v200909030330) requires 'bundle com.ibm.icu [3.4.4,4.1.0)' but it could not be found
  Missing requirement: Java EE Component 1.1.301.v201001272230 (org.eclipse.jst.j2ee 1.1.301.v201001272230) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
  Missing requirement: Java EE Component 1.1.302.v201004131604 (org.eclipse.jst.j2ee 1.1.302.v201004131604) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
  Missing requirement: Web Plug-in 1.1.301.v200908270924 (org.eclipse.jst.j2ee.web 1.1.301.v200908270924) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
  Missing requirement: Web Plug-in 1.1.301.v200911302230 (org.eclipse.jst.j2ee.web 1.1.301.v200911302230) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: JavaServer Faces Tools - Common 1.1.7.v20090903 (org.eclipse.jst.jsf.common 1.1.7.v20090903)
    To: bundle org.eclipse.jst.j2ee.web 0.0.0
  Cannot satisfy dependency:
    From: JavaServer Faces Tools - Common 1.1.9.v201001271707 (org.eclipse.jst.jsf.common 1.1.9.v201001271707)
    To: bundle org.eclipse.jst.j2ee 0.0.0
  Cannot satisfy dependency:
    From: JavaServer Faces Tools - JSP Core Pagedesigner 1.1.3.v201002111131 (org.eclipse.jst.pagedesigner.jsp.core 1.1.3.v201002111131)
    To: bundle org.eclipse.jst.jsf.common [1.0.0,2.0.0)
  Cannot satisfy dependency:
    From: Web Page Editor (Optional) 2.2.2.v201001271707-43799oB5855B7A2242 (org.eclipse.jst.webpageeditor.feature.feature.group 2.2.2.v201001271707-43799oB5855B7A2242)
    To: org.eclipse.jst.pagedesigner.jsp.core [1.1.3.v201002111131]

而且在我的 Eclipse 中,Window > Preferences没有 Web 服务选项卡,我在一个教程视频中看到过,那么有必要在 Android 中使用 Web 服务吗?如果有人有 Eclipse Juno 的 WTP 插件的链接,请告诉我。

我试过这个,但它显示了我上面提到的错误。

4

1 回答 1

0

您是否正在以任何方式开发您的 Android 客户端将使用的 Web 服务?如果答案是否定的,那么我认为你甚至不需要 WTP。WTP 只是为了帮助您开发应用程序的服务器端。

于 2012-08-20T18:11:22.290 回答