【异常】FreeMarker 模板文件找不到问题排查与解决 TemplateNotFoundException: Template not found for name “mail/captcha.f
一、报错内容
cn.hutool.core.io.IORuntimeException: TemplateNotFoundException: Template not foundforname"mail/captcha.ftl".The name was interpreted by this TemplateLoader: ClassTemplateLoader(classLoader="jdk.internal.loader.ClassLoaders$AppClassLoader@5cb0d902",basePackagePath="templates/"). at cn.hutool.extra.