@Bean
    public ArmeriaServerConfigurator armeriaTomcat(WebServerApplicationContext applicationContext) {
        final WebServer webServer = applicationContext.getWebServer();
        if (webServer instanceof JettyWebServer) {
            final Server jettyServer = ((JettyWebServer) webServer).getServer();

            return serverBuilder -> serverBuilder.service("prefix:/jetty/api/rest/v1",
                                                          JettyService.of(jettyServer));
        }
        return serverBuilder -> {};
    }
Bean to configure Armeria Jetty service.
it/spring/boot3-jetty12/src/main/java/com/linecorp/armeria/spring/jetty/SpringJettyApplication.java