简体   繁体   English

如何在Eclipse中安装tomcat插件

[英]How to install tomcat plugin in Eclipse

I am using Eclipse as my SDK for web project and I need tomcat integration with Eclipse. 我使用Eclipse作为我的Web项目SDK,我需要与Eclipse集成tomcat。 I am on my Ubuntu machine. 我在我的Ubuntu机器上。 How can I do the integration stuff? 我该怎么做集成的东西? How and from where I can download and install tomcat plugin? 我可以从哪里下载并安装tomcat插件?

  1. Download the Eclipse Tomcat Plugin from Marketplace 从Marketplace下载Eclipse Tomcat插件
  2. Go to window->Preference .Find Tomcat configuration from the left panel and configure it. 转到window->Preference从左侧面板中找到Tomcat配置并进行配置。

you have to do several things: 你必须做几件事:

  1. download and extract Tomcat 下载并解压缩Tomcat
  2. Install the WTP tools using Eclipse built-in update mechanisms or download the Eclipse Java EE prepackaged build: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigor 使用Eclipse内置更新机制安装WTP工具或下载Eclipse Java EE预打包构建: http//www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigor
  3. Configure Tomcat in Eclipse 在Eclipse中配置Tomcat

The following screenshot shows my Eclipse configuration (Ubuntu Natty 11.04, eclipse Helios 3.6, Tomcat 7.0.12): 以下屏幕截图显示了我的Eclipse配置(Ubuntu Natty 11.04,eclipse Helios 3.6,Tomcat 7.0.12):

在此输入图像描述

您可以下载Eclipse for Java EE

This solution worked for me: 这个解决方案对我有用:

  1. Download zip file of the Tomcat Plugin from https://sourceforge.net/projects/tomcatplugin/ https://sourceforge.net/projects/tomcatplugin/下载Tomcat插件的zip文件
  2. Install the .zip file from Eclipse. 从Eclipse安装.zip文件。 You could use the guide: 1.makesure your .zip file is an valid Eclipse Plugin found in another question. 您可以使用该指南: 1.makesure您的.zip文件是另一个问题中找到的有效Eclipse插件

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

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