Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Tomcat server not in list to add new

I need to add an Apache Tomcat server but the "Apache" folder have only Geronimo servers.

How to fix this?

STS 4.0.0.0.M12

enter image description here

like image 857
Magno C Avatar asked Jan 28 '23 13:01

Magno C


2 Answers

The STS4 distribution doesn't contain those adapters out of the box, since we tried to reduce the overall size of the distribution for various reasons (reduced startup time, reduced size, etc.).

If you want to get the Apache Tomcat server adaptors back, you can install the JST Server Adaptor... features from the main Eclipse 2018-09 p2 repository via Install New Software, select the main Eclipse update site (the right one depends on the base Eclipse version that you have, but it will show up in the drop-down list for you, either the Eclipse Photon one or the Eclipse 2018-09 one), scroll down the list, expand the Web... category, and select the JST... features.

like image 87
Martin Lippert Avatar answered Jan 30 '23 02:01

Martin Lippert


In the STS 4.1 distribution the Apache Tomact server adaptor is added back.

Meanwhile, if you are using Maven, then you might have to install m2e WTP plugin as detailed here for "Run on Server" Option.

https://stackoverflow.com/a/11090295/470347

like image 22
Nehal Damania Avatar answered Jan 30 '23 01:01

Nehal Damania