Apache Tomcat 未显示在 Eclipse 服务器运行时环境中 [英] Apache Tomcat Not Showing in Eclipse Server Runtime Environments

查看:31
本文介绍了Apache Tomcat 未显示在 Eclipse 服务器运行时环境中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 http://localhost:8080/ 安装、运行和验证了 tomcat 5.5.Tomcat 菜单选项出现在 Eclipse 菜单栏中,我可以从那里启动和停止 Tomcat.在 Eclipse 中,它不会在 Window - Preferences - Server - Runtime Environments 中显示为服务器运行时环境,也不会出现在我单击添加"按钮时可以添加的环境列表中.我所看到的只是 J2EE 运行时库.

I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences - Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library.


在 Windows XP 上运行.


Running on Windows XP.

Eclipse 版本为 3.5.1

Eclipse version is 3.5.1

推荐答案

就我而言,我需要安装JST 服务器适配器".我正在运行 Eclipse 3.6 Helios RCP 版.

In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition.

以下是我遵循的步骤:

  1. 帮助 -> 安装新软件
  2. 选择Helios - http://download.eclipse.org/releases/helios"站点或开普勒 - http://download.ecliplse.org/releases/kepler
  3. 展开Web、XML 和 Java EE 开发"
  4. 检查 JST 服务器适配器(版本 3.2.2)
  1. Help -> Install New Software
  2. Choose "Helios - http://download.eclipse.org/releases/helios" site or kepler - http://download.ecliplse.org/releases/kepler
  3. Expand "Web, XML, and Java EE Development"
  4. Check JST Server Adapters (version 3.2.2)

之后我可以定义新的服务器运行时环境.

After that I could define new Server Runtime Environments.

使用 Eclipse 3.7 Indigo Classic、Eclipse Kepler 和 Luna,步骤相同(具有适当的更新站点),但您需要JST 服务器适配器和 JST 服务器适配器扩展来获取服务器运行时环境选项.

With Eclipse 3.7 Indigo Classic, Eclipse Kepler and Luna, the steps are the same (with appropriate update site) but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options.

这篇关于Apache Tomcat 未显示在 Eclipse 服务器运行时环境中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆