@Override
    protected URL findResource(String name) {
        ZipEntry entry = zipFile.getEntry(name);
        if (entry == null) {
            return null;
        }
        String url = Path.of(zipFile.getName())
                .toAbsolutePath()
                .normalize()
                .toString()
                .replace('\\', '/');
        try {
            return URI.create((url.startsWith("/")
                    ? "jar:file:"
                    : "jar:file:/")
                    + url
                    + "!/"
                    + name)
                    .toURL();
        } catch (MalformedURLException e) {
            throw new RuntimeException(
                    "Failed to create a URL for: \""
                            + url
                            + "\"",
                    e);
        }
    }
We don't use {@link java.util.jar.JarFile} as we don't want to support multi-version JARs on
purpose, which just waste unnecessary resources.
turms-server-common/src/main/java/im/turms/server/common/infra/plugin/PluginClassLoader.java