GROOVY-6797: Fix missing class TemplateResolver