下載插件:http://www.eclipsetotale.com/tomcatPlugin.html
上有安裝說明
-
This plugin does not contain Tomcat.
(Download and install Tomcat before using this plugin).
This is a design choice not to include Tomcat in the plugin distribution, this way the same plugin version can works with any Tomcat version. -
不包括Tomcat 服務器 (使用插件前下載並安裝Tomcat)
-
Download tomcatPluginVxxx.zip
- 下載
-
Unzip it in your_Eclipse_Home/plugins
- 解壓到 your_Eclipse_Home/plugins 目錄
-
Plugin activation for Eclipse 3.x :
- launch eclipse once using this option : -clean
- if Tomcat icons are not shown in toolbar : select menu 'Window>Customize Perspective...>Commands', and check 'Tomcat' in 'Available command groups' - 激活
- 帶參數啓動eclipse 如果沒在工作欄看到TOMCAT的圖標,請設置 Window>Customize Perspective...>Commands
-
Set Tomcat version and Tomcat home : Workbench -> Preferences, select Tomcat and set Tomcat version and Tomcat home (Tomcat version and Tomcat home are the only required fields, other settings are there for advanced configuration).
- 在 window--preference 選擇Tomcat 版本 設置 Tomcat home
-
This plugin launches Tomcat using the default JRE checked in Eclipe preferences window.
To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs.
This JRE must be a JDK (This is a Tomcat prerequisite). -
The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings.