轉載出處:eclipse沒有(添加)"Dynamic Web Project"選項的方法
第一種方法:
version right now but the steps work same for Eclipse Juno(4.2),
Indigo(3.7), Helios(3.6). If you have a version older than Helios then I
would recommend that you upgrade to Kepler since versions older than
Helios are not supported. Here are the steps to download and setup Eclipse.
With”下拉,根據你的eclipse版本名選擇
Kepler版本)
OR “http://download.eclipse.org/releases/indigo”(如果你是 EclipseIndigo版本)
OR “http://download.eclipse.org/releases/helios”(如果你是 Eclipse Helios版本)
eclipse會搜尋這個網址的所有軟件,並且顯示到下面的列表(建議使用代理,否則可能要花很長時間顯示和下載插件,至於如何設置eclipse代理,請自行google)。
- Eclipse Java EE Developer Tools
- Eclipse Java Web Developer Tools
- Eclipse Web Developer Tools
- Eclipse XML Editors and Tools
Web Project” 選項了。
在eclipse配置tomcat的時候,我發現在Eclipse—Preferences—server—Runtime Environment中,點擊“Add”按鈕,里面看不到tomcat的,只有個“J2EE Runtime Library”。
- Help -> Install New Software
- Choose “Luna – http://download.eclipse.org/releases/Luna” site
- Expand “Web, XML, and Java EE Development”
- Check JST Server Adapters (version 3.2.2) and JST Server Adapters Extentions
安裝完后,就能在 Server Runtime Environments的Add按鈕中看到tomcat的選項了。
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.
