Eclipse配置Tomcat时,Preferences没有server选项

系统环境:Win7(64)+eclipse-inst-win64 (64位)+jdk1.8(64位)+tomcat7(64)

分析原因:有时候eclipse中window-preferences中找不到Server因为eclipse版本不全,缺少javaee组件

一.解决步骤:

1.找到Help->Install New Software

2.这里有两种方式:1)在Work with中输入:       Photon - http://download.eclipse.org/releases/photon

                                其中,photon为eclipse的版本号,找自己相应的版本号,(本人亲试成功)

                              2)在Work with中输入:       Kepler - http://download.eclipse.org/releases/kepler

                                    (此法没有尝试过)

                                嗯,百度查,很多人步骤是写的"Kepler"repository(http://download.eclipse.org/releases/kepler),可是输入框填的

                                     Kepler - http://download.eclipse.org/releases/kepler


3.勾选Web,XML,Java EE and OSGi Enterprise Development ->JST ServerAdaptersExtensions(打勾选上该项),然后一路NEXT 完成安装。

4.安装后重启eclipse,这时候就可以找到serever选项:

window–>preferences–>server

二.配置tomcat7

window–>preferences–>server->Runtime Envirenments-Add

Eclipse配置Tomcat时,Preferences没有server选项