1、在Eclipse中,如果想開發j2ee,必須要先安裝插件。至於具體的插件安裝方法,這里不再贅述。
2、當進行到配置tomcat服務器的時候,有時候會出現這種情況:
3、在server選項卡的Runtime Environment選項中,找不到tomcatx.x

1、具體原因是因為在下載插件的時候,少下了幾個插件。解決方法是:Help->InstallNew Software->"Eclipse版本名" repository(http://download.eclipse.org/releases/Eclipse版本名)->Web,XML, Java EE and OSGi Enterprise Development ->JST Server AdaptersExtensions(打勾選上該項)
2、有些版本中,沒有這個選項。選擇:

原文:https://blog.csdn.net/fengpojian/article/details/70171327