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

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

问题描述

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



编辑:

在Windows XP上运行。



Eclipse版本是3.5.1

解决方案

在我的情况下,我需要安装JST服务器适配器。我正在运行Eclipse 3.6 Helios RCP版。



以下是我遵循的步骤:


  1. 帮助 - >安装新软件

  2. 选择Helios - http ://download.eclipse.org/releases/helios site

  3. 展开Web,XML和Java EE开发

  4. 检查 JST服务器适配器(版本3.2.2)

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



编辑:使用Eclipse 3.7 Indigo Classic,Eclipse Kepler和Luna,步骤是相同的​​(具有适当的更新站点),但您需要两个JST服务器适配器和JST服务器适配器扩展名以获取服务器运行时环境选项。


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.

Edit:
Running on Windows XP.

Eclipse version is 3.5.1

解决方案

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

Here are the steps I followed:

  1. Help -> Install New Software
  2. Choose "Helios - http://download.eclipse.org/releases/helios" site
  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.

EDIT: 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 Server运行时环境中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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