class Main {

    public static void main(String[] args) throws LifecycleException {<FILL_FUNCTION_BODY>}
}


        JvmMetrics.builder().register();

        Tomcat tomcat = new Tomcat();
        tomcat.setPort(8081);

        Context ctx = tomcat.addContext("", new File(".").getAbsolutePath());

        Tomcat.addServlet(ctx, "hello", new GreetingServlet());
        ctx.addServletMappingDecoded("/*", "hello");

        Tomcat.addServlet(ctx, "metrics", new PrometheusMetricsServlet());
        ctx.addServletMappingDecoded("/metrics", "metrics");

        tomcat.getConnector();
        tomcat.start();
        tomcat.getServer().await();
    
<no_super_class>