Java Apache Tomcat 9 未显示在 Eclipse 服务器运行时环境中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/52235390/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 00:23:11  来源:igfitidea点击:

Apache Tomcat 9 Not Showing in Eclipse Server Runtime Environments

javaeclipsetomcat

提问by wissam benaddi

I have tomcat 9.0.11 installed, but the tomcat 9 server name does not see it to configure it , a solution please

我已经安装了tomcat 9.0.11,但是tomcat 9服务器名看不到配置它,求解决办法

enter image description here

在此处输入图片说明

采纳答案by G?khan Memi?

You have downloaded and installed tomcat 9 to your machine, then on Eclipse > Window > Preferences > Server > Runtime Environment, after clicking on Add, and then select your downloaded tomcat.

您已将 tomcat 9 下载并安装到您的机器上,然后在 Eclipse > Window > Preferences > Server > Runtime Environment 上,单击 Add 后,然后选择您下载的 tomcat。

回答by Tony Weddle

Looks like you have a very old version of eclipse where the newer versions of servers aren't shown. Make sure you install the latest version (photon, or 4.8) of the eclipse JEE package(or some other package with the WTP plugins) and you will see the latest supported server versions in that list.

看起来您有一个非常旧版本的 eclipse,其中未显示较新版本的服务器。确保您安装了最新版本(photon 或 4.8)的 eclipse JEE 包(或其他一些带有 WTP 插件的包),您将在该列表中看到最新支持的服务器版本。

回答by Ruben Es

You should install the latest Eclipse IDE.

您应该安装最新的 Eclipse IDE。

It has worked for me:

它对我有用:

Before

After

回答by Bharat Rawat

Open your Eclipse IDE

打开你的 Eclipse IDE

Go to Help > Install New Software > Select a URL from where you want to install > Web, XML, Java EE and OSGi Enterprise Development > select JST Server Adapters ExtensionsNext and Install.

转至帮助 > 安装新软件 > 选择要安装的 URL > Web、XML、Java EE 和 OSGi 企业开发 > 选择JST 服务器适配器扩展下一步并安装。

It will install Apache Tomcat Adaptors. Then you will be able to see all the Tomcat Server Versions in your list.

它将安装 Apache Tomcat 适配器。然后您将能够在列表中看到所有 Tomcat 服务器版本。