package ${groupId};

import io.datakernel.promise.Promise;
import io.datakernel.di.annotation.Provides;
import io.datakernel.http.AsyncServlet;
import io.datakernel.http.HttpResponse;
import io.datakernel.launcher.Launcher;
import io.datakernel.launchers.http.HttpServerLauncher;

import java.time.LocalDateTime;

import static java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME;

public class ${mainClassName} extends HttpServerLauncher {

    @Provides
    AsyncServlet servlet() {
        return request -> Promise.of(
                HttpResponse.ok200()
                    .withPlainText("Hello World at " + LocalDateTime.now().format(ISO_LOCAL_DATE_TIME)));
    }

    public static void main(String[] args) throws Exception {
        Launcher launcher = new ${mainClassName}();
        launcher.launch(args);
    }
}

@@ -278,112 +278,8 @@
 r;%0A%0A
-import java.time.LocalDateTime;%0A%0Aimport static java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME;%0A%0A
 publ
@@ -497,69 +497,17 @@
 ello
+,
  World
- at %22 + LocalDateTime.now().format(ISO_LOCAL_DATE_TIME)
+!%22
 ));%0A

Simplify archetype-http servlet