How to fix java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; when using Ktor on Heroku?
I’m playing with Ktor, and yesterday I tried to serve some static content. According to the documentation, to publish files from the resources directory, you have to do the following:
routing {
// /static is a remote path under which file...