Derived from the ZetCode's Tomcat Derby tutorial (2018.03.20)
./gradlew war
produces a WAR file which can be manually deployed to Tomcat.
Do not forget to put MySQL Connector/J into $CATALINA_HOME/lib/
beforehand.
There's a "Show all" page (/controller?action=listcars) and a trivial JSTL demo page.