It can be quite complex to setup Apache Tomcat. Before doing so, you could consider other alternative options:
- If you are going to use Spring Boot you can just use Maven and the Spring Boot internal server (recommended)
- If you are using an IDE like netbeans you could use glassfish instead
- You can also use Docker
For complete setup instructions read this detailed article (external link).