I would not recommend using CentOS 8 with a new project, due to its End-of-Life coming at the end of 2021. This was a surprise to the CentOS community, which you can read about further here. If you wish to continue with a RHEL-like version of Linux, I would recommend Rocky Linux or AlmaLinux instead.
That said, Tomcat is not included in the default repositories for RHEL/CentOS/Rocky Linux/AlmaLinux 8. The installation procedure for Tomcat requires installing Java 8 or Java 11, downloading and running Tomcat from the Apache website, and you would have to write your own systemd unit file if you wanted to run it under a supervisor daemon. Because of that, I would recommend using Ubuntu 20.04 and use the built-in Tomcat 9 packages.