eclipse下沒有Dynamic Web Project的處理方法


 eclipse版本: eclipse-java-oxygen-R-win32-x86_64.zip

name=Eclipse Platform
id=org.eclipse.platform
version=4.7.0

 

 

解決辦法:為當前的eclipse安裝Java EE開發插件

點擊菜單欄的 Help -> Install New Software:

 

 

安裝向導被打開。在安裝向導的窗口, 點擊”Work
With”下拉,根據你的eclipse版本名選擇:

 

Note: If you do not see above site in the dropdown, you can add it using the add button.
eclipse會搜尋這個網址的所有軟件,並且顯示到下面的列表。

展開 “Web, XML, Java EE and OSGi Enterprise Development” 選項,並且將下面四個選項打上勾:

Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
然后點擊”Next“。

  

  依次點擊“Next ”,直到看到 “ Review licences”的窗口。在這個窗口選擇 “I accept the terms of the licence agreement” 並且點擊“Finish”。

 

 

 

eclipse會開始安裝新的軟件。eclipse右下角會顯示安裝進度:

 

安裝完插件之后, Eclipse會要求你重啟eclipse,選擇“yes”。

 

重啟eclipse之后, 打開新建項目的面板,就可以看到 Web文件夾 和 “Dynamic Web Project” 選項了。

 


 

 

在eclipse配置tomcat的時候,我發現在Eclipse—Preferences—server—Runtime Environment中,點擊“Add”按鈕,里面看不到tomcat的,只有個“J2EE Runtime Library”。

解決辦法:
Help -> Install New Software
Choose “Oxygen - http://download.eclipse.org/releases/oxygen” site
Expand “Web, XML, and Java EE Development”
Check JST Server Adapters (version 3.2.4) and JST Server Adapters Extentions
安裝完后,就能在 Server Runtime Environments的Add按鈕中看到tomcat的選項了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM