Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse unable to add apache tomcat 10

For Jersey 3.x, I am forced to use Apache tomcat 10

Refer 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

enter image description here

But I am not able find an option to install Apache Tomcat 10

enter image description here

like image 732
AzarEJ Avatar asked Jun 29 '20 10:06

AzarEJ


1 Answers

Well, tomcat is not officially launched into eclipse as of May 28, 2021. But you can use it 2 ways:

1. Download portable installer

Tomcat 10.0 is supported in portable installer

2. Use Eclipse Tomcat

Step 1: Goto Help > Eclipse Marketplace > Search Eclipse Tomcat > Install it.

Step 2: Restart Eclipse b. Goto Windows > Preferences > Tomcat

Step 3: Select version 9.x(+)

Step 4: Browse the directory where Tomcat 10 is located.

enter image description here

(Image for step 3 and 4)

Step 5: Now, 3 Tomcat icons will be visible in Standard Toolbar. To start, stop and restart use those 3 icons

enter image description here

(Image for Step 5)

like image 177
ajinzrathod Avatar answered Nov 14 '22 12:11

ajinzrathod