[英]Eclipse unable to add apache tomcat 10
For Jersey 3.x, I am forced to use Apache tomcat 10对于 Jersey 3.x,我被迫使用 Apache tomcat 10
Refer https://stackoverflow.com/a/62597059/2074888参考https://stackoverflow.com/a/62597059/2074888
If you want to use Jersey 3.x with Servlets, you need to use a servlet container that implements Servlet 5 API, e.g. Tomcat 10, Jetty 11, Glassfish 6.
So I have installed latest eclipse所以我安装了最新的 eclipse
But I am not able find an option to install Apache Tomcat 10但我找不到安装 Apache Tomcat 10 的选项
Well, tomcat is not officially launched into eclipse as of May 28, 2021. But you can use it 2 ways:好吧,截至 2021 年 5 月 28 日,tomcat 尚未正式推出 eclipse。但是您可以通过两种方式使用它:
1. Download portable installer 1.下载便携式安装程序
Tomcat 10.0 is supported in portable installer便携式安装程序支持 Tomcat 10.0
2. Use Eclipse Tomcat 2.使用Eclipse Tomcat
Step 1: Goto Help
> Eclipse Marketplace
> Search Eclipse Tomcat > Install it.第 1 步:转到Help
> Eclipse Marketplace
> 搜索Eclipse Tomcat > 安装它。
Step 2: Restart Eclipse b.第二步:重启 Eclipse b. Goto Windows
> Preferences
> Tomcat
转到Windows
> Preferences
> Tomcat
Step 3: Select version 9.x(+)第 3 步: Select 版本 9.x(+)
Step 4: Browse the directory where Tomcat 10 is located.第四步:浏览Tomcat 10所在目录。
(Image for step 3 and 4) (步骤 3 和 4 的图像)
Step 5: Now, 3 Tomcat icons will be visible in Standard Toolbar .第 5 步:现在,标准工具栏中将显示3 个Tomcat 图标。 To start , stop and restart use those 3 icons要开始、停止和重新启动,请使用这 3 个图标
(Image for Step 5) (步骤 5 的图像)
Maybe you can try installing Eclipse Tomcat Plugin
in Eclipse Marketplace and then configure the path to the downloaded Tomcat10 directory.也许您可以尝试在Eclipse Marketplace中安装Eclipse Tomcat Plugin
,然后配置下载的Tomcat10目录的路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.