No server in Eclipse; trying to install Tomcat

前端 未结 12 1523
我寻月下人不归
我寻月下人不归 2021-02-06 22:05

I\'m trying to install Tomcat in Eclipse but I can\'t get a server tab to show up. When I go to Window -> Show View -> Other and type in \"server\", I don\'t get any re

相关标签:
12条回答
  • 2021-02-06 22:13
    1. In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files:

      • org.eclipse.wst.server.core.prefs
      • org.eclipse.jst.server.tomcat.core.prefs
    2. Restart Eclipse

    0 讨论(0)
  • 2021-02-06 22:13

    You can install Tomcat server form Eclipse market place.

    Help -> Eclipse Market Place search for 'Tomcat' -> Install Eclipse Tomcat plugin.

    After installation restart eclipse.

    0 讨论(0)
  • 2021-02-06 22:21

    The reason you might not be getting any results is because you might not be having the J2EE environment setup in your Eclipse IDE. Follow these steps to solve the problem.

    1. Goto Help -> Install new Software
    2. Select {Oxygen - http://download.eclipse.org/releases/oxygen} (or Similar option/version) in the "Work with" tab.
    3. Search for Web,XML,Java EE and OSGi Enterprise Development
    4. Check the boxes corresponding to,
      • Eclipse Java EE Developer Tools
      • JST Server Adapters
      • JST Server Adapters Extensions
    5. Click next and accept the license agreement.

    Hope this helps.

    0 讨论(0)
  • 2021-02-06 22:24

    You have probably installed Eclipse for Java Developers instead of Eclipse IDE for Enterprise Java Developers, server tab and some other are not available.

    You don't have to uninstall. Just rerun eclipse-inst-win64.exe and choose Java EE IDE

    JAVA EE IDE Installation

    0 讨论(0)
  • 2021-02-06 22:25

    Try to install JST Server Adapters and JST Server Adapters Extentions. I am running Eclipse 4.4.2 Luna and it worked.

    Here are the steps I followed:

    1. Help -> Install New Software

    2. Choose "Luna - http://download.eclipse.org/releases/luna" site

    3. Expand "Web, XML, and Java EE Development"

    4. Check JST Server Adapters and JST Server Adapters Extentions

    0 讨论(0)
  • 2021-02-06 22:28

    I ended up installing a new copy of Eclipse - JAVA EE, and it all works now.

    0 讨论(0)
提交回复
热议问题