在Windows>首选项中找不到服务器

37

我正在尝试将Apache服务器添加到Eclipse(Juno)中。我已经安装了Apache 7.0服务器,但是当我尝试将其添加到Eclipse环境时,在windows>preferences选项中没有看到服务器选项。在首选项中必须有一个名为服务器的选项才能添加Tomcat服务器。

请告诉我如何获得那个选项?

我需要安装任何插件吗?如果需要,请提供链接或名称。


尝试在http://superuser.com上发布。 - FlavorScape
7个回答

53
在Eclipse Kepler中,
  1. 进入“帮助”菜单,选择“安装新软件”
  2. 选择“Kepler- http://download.eclipse.org/releases/kepler”网站或添加它(如果缺失)
  3. 展开“Web、XML和Java EE开发”部分,勾选 JST Server AdaptersJST Server Adapters Extensions 并安装它们
在Eclipse重启后,进入“窗口”/“首选项”/“服务器”/“运行环境”。

选择您需要的内容,否则安装过程会太长。 - smwikipedia
2
同样适用于Eclipse Mars(相应更改链接为http://download.eclipse.org/releases/mars) - gordon613

38

你没有安装正确的 Eclipse 版本。请尝试安装标有“Eclipse IDE for Java EE Developers”的版本。


2
是的,谢谢。我已经安装了Java EE的IDE,并且它现在可以正常工作了。 - Prakash

10

我曾经遇到过同样的问题。我使用的是Eclipse平台,但我的“Show View”中缺少了服务器。要解决这个问题,请按照以下步骤进行:

  • 选择“帮助(Help) > 安装新软件(install new software)”

  • 在“Work with”中选择:“Indigo Update Site - http://download.eclipse.org/releases/indigo/”,一旦选择完成,所有可用的软件都会显示在类型筛选文本下面的部分。

  • 展开“Web, XML, and Java EE Development”,并选择“JST Server adapters extensions”

  • 然后单击“下一步”并完成安装。此后,服务器应该会显示在“Show View”中了。


4

1
跟随以下步骤:

1.Goto Help -> Install new Software
2.Give address http://download.eclipse.org/releases/oxygen and name as your choice.
3.Search for Java EE and choose 1.Eclipse Java EE Developer Tools 
4.Search for JST and choose 2.JST Server Adapters 3.JST Server Adapters 
5.Click next and accept the license agreement.

在窗口的“首选项”中找到服务器选项,根据需要添加服务器。

附加信息- 对于Apache Tomcat服务器,您还需要包括JST Server Adapter Extensions - IshitaV

0

0
  1. 前往帮助
  2. Eclipse市场
  3. 在查找选项中搜索JST服务器适配器,然后安装

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接