Time for action – configuring Tomcat on STS
As I already mentioned, we can use the Tomcat web server to deploy our application, but we have to inform STS about the location of the Tomcat container so that we can easily deploy our project from STS to Tomcat. Let's configure Tomcat on STS:
- Open STS from the start menu option or the desktop icon.
- STS will ask you to provide a workspace directory location; provide a workspace directory path as you wish and click on the OK button.
- Now, STS will show you a welcome screen. Close the welcome screen and go to the menu bar and navigate to Window | preferences | Server | Runtime Environments.
- You can see the available servers listed on the right-hand side; you may also see VMware vFabric tc Server listed under ...