How to create a tomcat snap?

you should be able to include the tomcat part directly in your snapcraft.yaml like:

(indeed with the fixed url) … that should install tomcat-launch and create a webapps dir in $SNAPCRAFT_PART_INSTALL … you should be able to use the same apps: section as above to have tomcat start.