public static Path getPath(String path) {
        return new File(Objects.requireNonNull(ResourceUtils.class.getClassLoader().getResource(path)).getPath()).toPath();
    }
@param directoryPath the directory path
@param maxDepth      the max directory depth to get the files, the given directory is 0 as the tree root
@return all normal files which in this directory and subDirectory according to the maxDepth
@throws FileNotFoundException the directory not exist in the given path
oap-server/server-library/library-util/src/main/java/org/apache/skywalking/oap/server/library/util/ResourceUtils.java