---
title: "Eclipse中配置tomcat"
author: "jadethao"
date: "2011-11-14T17:14:18Z"
tags: ["Tomcat"]
categories: ["开源软件"]
slug: "eclipse-tomcat"
draft: false
lastmod: "2011-11-14T17:14:18Z"
id: 1258471
url: "https://jadethao.iteye.com/blog/1258471"
---

  假设你应景安装完了tomcat,已经解压完eclipse，也配置完了jre。
  找到server视图，先看你的窗体里是不是有这个视图，没有的话点击window->show view->servers.
  在servers空白处点击右键，new->server；在type filter text下选择你的tomcat版本，下边点击server runtime envierment后的add..
  弹出一个窗口，点击tomcat installation directory 后的browse..，选择你的tomcat安装目录，指定到你的tomcat路径下就可以了。
 选择jre,你自己配置的jre.完了点击完成，完成。就可以看到你配置的tomcat了。
还没完，双击你配置的tomcat,修改配置文件，server Location 选择Use Tomcat installaction(takes control of Tomcat installation);
接着Deploy Path改为webapps,再把server options 选择第二个，publish modules...,保存，这样就部署完毕，右击你配的tomcat,执行start启动看是否可以正常启动。
  