These steps can really help you:
If you didn't install any server you have to do these steps:
Menu Window → Preferences → Expend Server → Runtime environment → Add → choose a name and then choose the Apache server path that you already installed on your PC (you can press download and install too) → Finish → OK
Ref# for more information, click here
Add the Tomcat server:
Project Properties → Java Build Path → Add Library → Select "Server Runtime" from the list* → Next → Select "Apache Tomcat" → Finish
Ref# This answer