Path class from stdlib has no function "of"
In this code, as in
this example, I try to configure resolver via DirectoryCodeResolver, but its parameter Path.of("somePath") is incorrect, there is no such function.
Path is from java.nio.file.Path, but there is no of(). Maybe, some file defines an extension for Path class?
package com.example
import io.ktor.server.engine.*...