private static STGroup readStringTemplateGroup(ClassLoader classLoader, String path) {
        try {
            URL resource = classLoader.getResource(path);
            STGroupFile group = new STGroupFile(resource, StandardCharsets.UTF_8.name(), '<', '>');
            group.load();
            return group;
        } catch (Exception e) {
            throw new RuntimeException("Unable to read StringTemplate group file at " + path + " on classpath", e);
        }
    }
Loads the StringTemplateGroup from the given path on the classpath.

@param classLoader the classloader from which to load the resource.
@param path the resource path on the classpath.
@return the loaded StringTemplateGroup.
stringtemplate4/src/main/java/org/jdbi/v3/stringtemplate4/StringTemplateSqlLocator.java