I would like to server static content from my Helidon MP server. But I only get No handler found for path: /static/index.html
.
I have configured the static resources in src/main/resources/META-INF/microprofile-config.properties
:
server.static.classpath.location=/static
And I start my server with:
Server.builder().config(Config.create()).build().start();
I guess I have to add an JaxRsApplication? But how do I do that?
I figured out it does work when I use the io.helidon.microprofile.cdi.Main
but I want to manually create the server.